Skip to content

RDMAtool cleanup and refactoring code

Leon Romanovsky netdev 1 version Applied

Status from this message: Applied to net-next. Thanks, Leon.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/10rdma: Reduce scope of _dev_map_lookup callrdma/rdma.h rdma/utils.c+1 -20 replies
2/10rdma: Protect dev_map_lookup from wrong inputrdma/utils.c+3 -00 replies
3/10rdma: Move per-device handler function to generic coderdma/dev.c rdma/rdma.h rdma/utils.c+33 -270 replies
4/10rdma: Fix misspelled SYS_IMAGE_GUIDrdma/link.c+1 -10 replies
5/10rdma: Check that port index exists before operate on link layerrdma/link.c+3 -00 replies
6/10rdma: Print supplied device name in case of wrong namerdma/utils.c+1 -10 replies
7/10rdma: Get rid of dev_map_free callrdma/utils.c+2 -100 replies
8/10rdma: Rename free function to be rd_cleanuprdma/rdma.c+2 -20 replies
9/10rdma: Rename rd_free_devmap to be rd_freerdma/rdma.c rdma/rdma.h rdma/utils.c+4 -40 replies
10/10rdma: Move link execution logic to common coderdma/link.c rdma/rdma.h rdma/utils.c+51 -450 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH iproute2-next 00/10] RDMAtool cleanup and refactoring code

From: Leon Romanovsky <[email protected]>

Hi,

The following patchset comes as a preparation to more complex code, which will add resource tracking visibility to the rdmatool, where the kernel part is under review of RDMA community.

Thanks

[1] https://marc.info/?l=linux-rdma&m=151412508816802&w=2

Leon Romanovsky (10):
rdma: Reduce scope of _dev_map_lookup call
rdma: Protect dev_map_lookup from wrong input
rdma: Move per-device handler function to generic code
rdma: Fix misspelled SYS_IMAGE_GUID
rdma: Check that port index exists before operate on link layer
rdma: Print supplied device name in case of wrong name
rdma: Get rid of dev_map_free call
rdma: Rename free function to be rd_cleanup
rdma: Rename rd_free_devmap to be rd_free
rdma: Move link execution logic to common code

 rdma/dev.c   |  28 +----------------
 rdma/link.c  |  51 +++---------------------------
 rdma/rdma.c  |   7 ++---
 rdma/rdma.h  |   5 +--
 rdma/utils.c | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------
 5 files changed, 100 insertions(+), 91 deletions(-)