mbox

[v3,00/15] add FreeBSD support to VMBUS & NetVSC PMDs

Message ID 20220217160613.70161-1-srikanth.k@oneconvergence.com (mailing list archive)
Headers

Message

Srikanth Kaka Feb. 17, 2022, 4:05 p.m. UTC
This patch series adds support to VMBUS & NetVSC PMDs run on FreeBSD

Changelog:
v3: - split the patches into further logical parts
    - updated docs
v2: - replaced strncpy with memcpy
    - replaced malloc.h with stdlib.h
    - added comment in linux/vmbus_uio.c
v1: Intial release

Srikanth Kaka (15):
  bus/vmbus: scan and get the network device
  bus/vmbus: handle mapping of device resources
  bus/vmbus: get device resource values using sysctl
  bus/vmbus: add resource by index
  net/netvsc: make event monitor OS dependent
  bus/vmbus: add ring mapping APIs
  bus/vmbus: add stub for subchannel support API
  bus/vmbus: open subchannels
  net/netvsc: make IOCTL call to open subchannels
  bus/vmbus: get subchannel info
  net/netvsc: moving hotplug retry to OS dir
  bus/vmbus: add meson support for FreeBSD
  net/netvsc: add meson support for FreeBSD
  bus/vmbus: add APIs to mask/unmask IRQs
  bus/vmbus: update MAINTAINERS and docs

 MAINTAINERS                            |   2 +
 doc/guides/nics/netvsc.rst             |  11 +
 drivers/bus/vmbus/freebsd/vmbus_bus.c  | 282 ++++++++++++++++
 drivers/bus/vmbus/freebsd/vmbus_uio.c  | 449 +++++++++++++++++++++++++
 drivers/bus/vmbus/linux/vmbus_uio.c    |  12 +
 drivers/bus/vmbus/meson.build          |   6 +-
 drivers/bus/vmbus/private.h            |   1 +
 drivers/bus/vmbus/rte_bus_vmbus.h      |  10 +
 drivers/bus/vmbus/version.map          |   1 +
 drivers/bus/vmbus/vmbus_channel.c      |   5 +
 drivers/net/netvsc/freebsd/hn_os.c     |  22 ++
 drivers/net/netvsc/freebsd/meson.build |   6 +
 drivers/net/netvsc/hn_ethdev.c         |  95 +-----
 drivers/net/netvsc/hn_os.h             |   8 +
 drivers/net/netvsc/linux/hn_os.c       | 111 ++++++
 drivers/net/netvsc/linux/meson.build   |   6 +
 drivers/net/netvsc/meson.build         |   3 +
 17 files changed, 941 insertions(+), 89 deletions(-)
 create mode 100644 drivers/bus/vmbus/freebsd/vmbus_bus.c
 create mode 100644 drivers/bus/vmbus/freebsd/vmbus_uio.c
 create mode 100644 drivers/net/netvsc/freebsd/hn_os.c
 create mode 100644 drivers/net/netvsc/freebsd/meson.build
 create mode 100644 drivers/net/netvsc/hn_os.h
 create mode 100644 drivers/net/netvsc/linux/hn_os.c
 create mode 100644 drivers/net/netvsc/linux/meson.build