Add net namespace awareness to device registration
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | RDMA/core: Extend RDMA device registration to be net namespace awaredrivers/ drivers/ include/ | +22 | 0 replies | |
| 2/3 | RDMA/mlx5: Allocate IB device with net namespace supplied from core devdrivers/ drivers/ drivers/ +1 more | +11 | 0 replies | |
| 3/3 | RDMA/ipoib: Use parent rdma device net namespacedrivers/ include/ | +6 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Parav Pandit |
|---|---|
| 1/3 | |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH rdma-next 0/3] Add net namespace awareness to device registration
From Mark:
Introduces net namespace awareness to RDMA device registration and update relevant users accordingly.
Currently, RDMA devices are always registered in the initial network namespace, for example even when their associated devlink devices have been moved to a different namespace via devlink reload.
This results in inconsistent behavior and namespace mismatches.
So in this series, we update the RDMA core to optionally accept a net namespace during device allocation, allowing drivers to associate the RDMA device with the correct namespace. In addition, we ensures that IPoIB inherit the namespace from the underlying RDMA device, maintaining consistency across the RDMA stack.
Thanks
Mark Bloch (3):
RDMA/core: Extend RDMA device registration to be net namespace aware RDMA/mlx5: Allocate IB device with net namespace supplied from core
dev
RDMA/ipoib: Use parent rdma device net namespace
drivers/infiniband/core/device.c | 14 ++++++++++++-- drivers/infiniband/hw/mlx5/ib_rep.c | 3 ++- drivers/infiniband/hw/mlx5/main.c | 6 ++++-- drivers/infiniband/sw/rdmavt/vt.c | 2 +- drivers/infiniband/ulp/ipoib/ipoib_main.c | 2 ++ .../net/ethernet/mellanox/mlx5/core/lib/mlx5.h | 5 ----- include/linux/mlx5/driver.h | 5 +++++ include/rdma/ib_verbs.h | 15 +++++++++++++-- 8 files changed, 39 insertions(+), 13 deletions(-)
Signature · 1 line
2.49.0