Skip to content

devlink: Use utils helpers

Parav Pandit netdev 1 version Applied

Status from this message: applied to iproute2-next. Thanks, Parav

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4devlink: Use library provided string processing APIsdevlink/devlink.c+9 -340 replies
2/4utils: Introduce helper routines for generic socket recvinclude/mnl_utils.h lib/mnl_utils.c+27 -40 replies
3/4devlink: Use generic socket helpers from librarydevlink/devlink.c devlink/mnlg.c devlink/mnlg.h+161 -2870 replies
4/4devlink: Add error print when unknown values specifieddevlink/devlink.c+6 -20 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchJiri Pirko
1/4R-b
2/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH iproute2-next 0/4] devlink: Use utils helpers

This series uses utils helper for socket operations, string processing and print error messages.

Patch summary:
Patch-1 uses utils library helper for string split and string search Patch-2 extends library for socket receive operation Patch-3 converts devlink to use socket helpers from utlis library Patch-4 print error when user provides invalid flavour or state

Parav Pandit (4):
devlink: Use library provided string processing APIs
utils: Introduce helper routines for generic socket recv
devlink: Use generic socket helpers from library
devlink: Add error print when unknown values specified

 devlink/devlink.c   | 365 ++++++++++++++++++++------------------------
 devlink/mnlg.c      | 121 ++-------------
 devlink/mnlg.h      |  13 +-
 include/mnl_utils.h |   6 +
 lib/mnl_utils.c     |  25 ++-
 5 files changed, 203 insertions(+), 327 deletions(-)
Signature · 1 line
2.26.2