[ovs-dev] [PATCH ovs V1 0/2] Introduce dpdkvdpa netdev
echaudro at redhat.com
Thu Sep 26 12:42:06 UTC 2019
Did not review the patchset yet, but it would be good to at least
include some documentation around use cases, and maybe an example to be
used for testing?
On 15 Sep 2019, at 7:37, Noa Ezra wrote:
> Introduce dpdkvdpa netdev allowing HW offloads over VirtIO network
> dpdkvdpa ports can be added to netdev bridges with the following
> 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
> 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
> dev mailing list
> dev at openvswitch.org
More information about the dev