[PATCH net-next v2 0/2] Provide master netdev to mana_ib

Konstantin Taranov
2024-07-01T13:00:11Z

From: Konstantin Taranov <kotaranov@microsoft.com>

This patch series aims to allow mana_ib to get master netdev
from mana. In the netvsc deployment, the VF netdev is enslaved
by netvsc and the upper device should be considered for the network
state. In the baremetal case, the VF netdev is a master device.

I would appreciate if I could get Acks on it from:
* netvsc maintainers (e.g., Haiyang)
* net maintainers (e.g., Jakub, David, Eric, Paolo)

v1 -> v2:
Leon Romanovsky asked to make a helper in the net/mana and get
acks from net maintainers.

Konstantin Taranov (2):
net: mana: introduce helper to get a master netdev
RDMA/mana_ib: Set correct device into ib

drivers/infiniband/hw/mana/device.c | 16 ++++++++--------
drivers/net/ethernet/microsoft/mana/mana_en.c | 18 ++++++++++++++++++
include/net/mana/mana.h | 2 ++
3 files changed, 28 insertions(+), 8 deletions(-)

--
2.43.0