Introduce dpdkvdpa netdev allowing HW offloads over VirtIO network devices.
dpdkvdpa ports can be added to netdev bridges with the following command: ovs-vsctl add-port br0 vdpa0 -- set Interface vdpa0 type=dpdkvdpa options:vdpa-socket-path=<sock path> options:vdpa-accelerator-devargs=<VF pci id> options:dpdk-devargs=<vdpa pci id>,representor=[id] vDPA netdev is designed to support both SW and HW acceleration. SRIOV capable NICs can use the SW acceleration which relays packets between VF and virtIO ports. HW mode will configure vDPA capable NICs. Patch 1 provides the vdpa functionality as a pre-step without a functional change. Patch 2 introduces the dpdkvdpa vport. Noa Ezra (2): netdev-dpdk-vdpa: Introduce dpdkvdpa netdev netdev-dpdk: Add dpdkvdpa port NEWS | 1 + lib/automake.mk | 4 +- lib/netdev-dpdk-vdpa.c | 750 +++++++++++++++++++++++++++++++++++++++++++++++++ lib/netdev-dpdk-vdpa.h | 54 ++++ lib/netdev-dpdk.c | 162 +++++++++++ vswitchd/vswitch.xml | 25 ++ 6 files changed, 995 insertions(+), 1 deletion(-) create mode 100755 lib/netdev-dpdk-vdpa.c create mode 100644 lib/netdev-dpdk-vdpa.h -- 1.8.3.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev