DPDK patches and discussions
 help / color / mirror / Atom feed
* [patch v4 0/6] Support VMBUS channels without monitoring enabled
@ 2025-04-07 22:44 longli
  2025-04-07 22:44 ` [patch v4 1/6] net/netvsc: introduce private data for storing vmbus device for secondary process longli
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: longli @ 2025-04-07 22:44 UTC (permalink / raw)
  To: Stephen Hemminger, Wei Hu; +Cc: dev, Long Li

From: Long Li <longli@microsoft.com>

Hyperv may expose VMBUS channels without monitoring enabled. In this case,
it programs almost all the data traffic to VF.

This patchset enabled vmbus/netvsc to use channels without monitoring
enabled.

This needs to change the APIs exposed by drivers/bus/vmbus. Because those
APIs are used only by NetVSC PMD and not feasible for use by a DPDK
application, all VMBUS APIs are set to deprecate in upcoming 25.11 release.

The notice for deprecation is accepted in the following patch:
https://patchwork.dpdk.org/project/dpdk/patch/1742242184-19600-1-git-send-email-longli@linuxonhyperv.com/

Change log:
v3: Add in the comment on the VMBUS API deprecation notice

Long Li (6):
  net/netvsc: introduce private data for storing vmbus device for
    secondary process
  net/netvsc: introduce get_vmbus_device to get the vmbus device
  bus/vmbus: store UIO fd for secondary process
  bus/vmbus: support channels without monitoring enabled
  bus/vmbus: add rte_vmbus_device to all functions accessing vmbus
  bus/vmbus: set event for channel without monitoring support

 drivers/bus/vmbus/linux/vmbus_bus.c  |  9 +++--
 drivers/bus/vmbus/linux/vmbus_uio.c  |  6 +--
 drivers/bus/vmbus/private.h          |  2 +-
 drivers/bus/vmbus/rte_bus_vmbus.h    | 16 +++++---
 drivers/bus/vmbus/vmbus_channel.c    | 57 ++++++++++++++++++++--------
 drivers/bus/vmbus/vmbus_common_uio.c |  9 +++--
 drivers/net/netvsc/hn_ethdev.c       | 44 ++++++++++++++++-----
 drivers/net/netvsc/hn_nvs.c          | 33 +++++++++++-----
 drivers/net/netvsc/hn_nvs.h          | 21 ++++++----
 drivers/net/netvsc/hn_rndis.c        | 11 +++---
 drivers/net/netvsc/hn_rxtx.c         | 16 ++++----
 11 files changed, 155 insertions(+), 69 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-04-08 21:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-07 22:44 [patch v4 0/6] Support VMBUS channels without monitoring enabled longli
2025-04-07 22:44 ` [patch v4 1/6] net/netvsc: introduce private data for storing vmbus device for secondary process longli
2025-04-07 22:45 ` [patch v4 2/6] net/netvsc: introduce get_vmbus_device to get the vmbus device longli
2025-04-07 22:45 ` [patch v4 3/6] bus/vmbus: store UIO fd for secondary process longli
2025-04-07 22:45 ` [patch v4 4/6] bus/vmbus: support channels without monitoring enabled longli
2025-04-07 22:45 ` [patch v4 5/6] bus/vmbus: add rte_vmbus_device to all functions accessing vmbus longli
2025-04-07 22:45 ` [patch v4 6/6] bus/vmbus: set event for channel without monitoring support longli
2025-04-08 14:18   ` Stephen Hemminger
2025-04-08 21:55     ` [EXTERNAL] " Long Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).