Thread (33 messages) 33 messages, 6 authors, 2022-09-21

RE: [Patch v5 03/12] net: mana: Handle vport sharing between devices

From: Haiyang Zhang <haiyangz@microsoft.com>
Date: 2022-09-20 22:05:22
Also in: linux-hyperv, linux-rdma, lkml

-----Original Message-----
From: longli@linuxonhyperv.com <redacted>
Sent: Tuesday, August 30, 2022 8:34 PM
To: KY Srinivasan <kys@microsoft.com>; Haiyang Zhang
[off-list ref]; Stephen Hemminger
[off-list ref]; Wei Liu [off-list ref]; Dexuan Cui
[off-list ref]; David S. Miller [off-list ref]; Jakub
Kicinski [off-list ref]; Paolo Abeni [off-list ref]; Jason
Gunthorpe [off-list ref]; Leon Romanovsky [off-list ref];
edumazet@google.com; shiraz.saleem@intel.com; Ajay Sharma
[off-list ref]
Cc: linux-hyperv@vger.kernel.org; netdev@vger.kernel.org; linux-
kernel@vger.kernel.org; linux-rdma@vger.kernel.org; Long Li
[off-list ref]
Subject: [Patch v5 03/12] net: mana: Handle vport sharing between devices

From: Long Li <longli@microsoft.com>

For outgoing packets, the PF requires the VF to configure the vport with
corresponding protection domain and doorbell ID for the kernel or user
context. The vport can't be shared between different contexts.

Implement the logic to exclusively take over the vport by either the
Ethernet device or RDMA device.

Reviewed-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Long Li <longli@microsoft.com>
Acked-by: Haiyang Zhang <haiyangz@microsoft.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help