[ovs-dev] [PATCH ovs V1 0/2] Introduce dpdkvdpa netdev

Eelco Chaudron echaudro at redhat.com
Thu Sep 26 12:42:06 UTC 2019


Hi Noa,

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?

Cheers,

Eelco


On 15 Sep 2019, at 7:37, Noa Ezra wrote:

> 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
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev


More information about the dev mailing list