Skip to content

Allow rdma dev netns to take a pid

David Ahern linux-rdma netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesIn review
  2. v14 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4namespace: Add fallback to netns by pidlib/namespace.c+21 -71 reply
2/4iplink: Drop pid fallback code for netnsip/iplink.c+1 -91 reply
3/4rdma: Allow netns to be specified by pidman/man8/rdma-dev.8 rdma/dev.c+6 -81 reply
4/4devlink: Drop now duplicate pid fallback for netnsdevlink/devlink.c+7 -182 replies

Reviews trailers per patch

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

PatchLeon Romanovsky
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 v2 thread

Cover letter [PATCH iproute2-next v2 0/4] Allow rdma dev netns to take a pid

From: David Ahern <[email protected]>

Avoid the extra hurdle of creating an entry in /var/run/netns and allow the netns argument to be a name or a pid.

v2
- update netns_get_fd to handle the pid fallback
- update devlink code

David Ahern (4):
namespace: Add fallback to netns by pid
iplink: Drop pid fallback code for netns
rdma: Allow netns to be specified by pid
devlink: Drop now duplicate pid fallback for netns

 devlink/devlink.c   | 25 +++++++------------------
 ip/iplink.c         | 10 +---------
 lib/namespace.c     | 28 +++++++++++++++++++++-------
 man/man8/rdma-dev.8 |  3 ++-
 rdma/dev.c          | 11 ++++-------
 5 files changed, 35 insertions(+), 42 deletions(-)
Signature · 1 line
2.43.0