This patch series adds support to VMBUS & NetVSC PMDs run on FreeBSD Srikanth Kaka (11): bus/vmbus: stub for FreeBSD support 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: open subchannels net/netvsc: request HV_UIO to open sub-channels bus/vmbus: map the subchannel resources net/netvsc: moving event monitoring support net/netvsc: moving hotplug retry to OS dir bus/vmbus: add meson suport for FreeBSD OS net/netvsc: add meson support for FreeBSD
drivers/bus/vmbus/freebsd/vmbus_bus.c | 296 +++++++++++++++ drivers/bus/vmbus/freebsd/vmbus_uio.c | 499 +++++++++++++++++++++++++ drivers/bus/vmbus/linux/vmbus_uio.c | 8 + 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 | 4 + 15 files changed, 989 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 -- 2.30.2