[ovs-dev] [PATCHv17 2/2] netdev-afxdp: add new netdev type for AF_XDP.

Ben Pfaff blp at ovn.org
Thu Jul 18 18:15:42 UTC 2019


On Wed, Jul 17, 2019 at 01:23:34PM -0700, William Tu wrote:
> The patch introduces experimental AF_XDP support for OVS netdev.
> AF_XDP, the Address Family of the eXpress Data Path, is a new Linux socket
> type built upon the eBPF and XDP technology.  It is aims to have comparable
> performance to DPDK but cooperate better with existing kernel's networking
> stack.  An AF_XDP socket receives and sends packets from an eBPF/XDP program
> attached to the netdev, by-passing a couple of Linux kernel's subsystems
> As a result, AF_XDP socket shows much better performance than AF_PACKET
> For more details about AF_XDP, please see linux kernel's
> Documentation/networking/af_xdp.rst. Note that by default, this feature is
> not compiled in.
> 
> Signed-off-by: William Tu <u9012063 at gmail.com>

I built this (without enabling it) and ran the unit tests and everything
passed, and on a quick skim it looks fine, so I am happy with it from a
"no regressions" point of view.  Ilya's been doing the real reviews, of
course, so I'll leave it to him to apply.


More information about the dev mailing list