]> www.infradead.org Git - nvme.git/commit
RDMA/mana_ib: Handle net event for pointing to the current netdev
authorLong Li <longli@microsoft.com>
Wed, 12 Mar 2025 23:15:32 +0000 (16:15 -0700)
committerLeon Romanovsky <leon@kernel.org>
Thu, 13 Mar 2025 12:03:03 +0000 (08:03 -0400)
commitbee35b7161aaaed9831e2f14876c374b9c566952
treeb67bedacdebdf582ca8269a7df720ee089839f3e
parenta8445cfec101c42e9d64cdb2dac13973b22c205c
RDMA/mana_ib: Handle net event for pointing to the current netdev

When running under Hyper-V, the master device to the RDMA device is always
bonded to this RDMA device. This is not user-configurable.

The master device can be unbind/bind from the kernel. During those events,
the RDMA device should set to the current netdev to reflect the change of
master device from those events.

Signed-off-by: Long Li <longli@microsoft.com>
Link: https://patch.msgid.link/1741821332-9392-2-git-send-email-longli@linuxonhyperv.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mana/device.c
drivers/infiniband/hw/mana/mana_ib.h