]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/mlx5: Change default device for LAG slaves in RDMA TRANSPORT namespaces
authorPatrisious Haddad <phaddad@nvidia.com>
Wed, 29 Oct 2025 15:42:56 +0000 (17:42 +0200)
committerLeon Romanovsky <leon@kernel.org>
Sun, 9 Nov 2025 10:21:33 +0000 (05:21 -0500)
commit3506242da07156e6804c061554bd01d77c1b463b
tree756b412099f538807d156f3c036c19b9b8cb414b
parentd06ccdc9529235130798b519f6519103d83a7272
RDMA/mlx5: Change default device for LAG slaves in RDMA TRANSPORT namespaces

In case of a LAG configuration change the root namespace core device for
all of the LAG slaves to be the core device of the master device for
RDMA_TRANSPORT namespaces, in order to ensure all tables are created
through the master device.
Once the LAG is disabled revert back to the native core device.

Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Signed-off-by: Edward Srouji <edwards@nvidia.com>
Link: https://patch.msgid.link/20251029-support-other-eswitch-v1-4-98bb707b5d57@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/ib_rep.c