mbox series

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

Message ID 1719838736-20338-1-git-send-email-kotaranov@linux.microsoft.com (mailing list archive)
Headers show
Series Provide master netdev to mana_ib | expand

Message

Konstantin Taranov July 1, 2024, 12:58 p.m. UTC
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(-)

Comments

Jakub Kicinski July 4, 2024, 1:41 a.m. UTC | #1
On Mon,  1 Jul 2024 05:58:54 -0700 Konstantin Taranov wrote:
> 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)

Would you like us to take this via net-next?
 - it doesn't apply cleanly
 - the patches should be squashed, they aren't separate logical changes
 - please find a better word than master