On Sun, May 26, 2019 at 10:35 PM Yanqin Wei (Arm Technology China) <yanqin....@arm.com> wrote: > > Hi William, > > I think the main objective of this patch is to introduce AF_XDP socket for > OVS userspace datapath. This is an alternative to DPDK PMD library. Is it > possible to continue using other DPDK libraries before XDP provides the > corresponding functionality? >
Hi Yanqin, Yes, I'm aware of the new AF_XDP feature in DPDK PMD. With this patch, you can use both together, the AF_XDP this patch and the DPDK PMD. For example, you can configure OVS with (see afxdp.rst in this path) ./configure --enable-afxdp --with-dpdk=<dpdk path> Regards, William > Best Regards, > Wei Yanqin > > -----Original Message----- > From: ovs-dev-boun...@openvswitch.org <ovs-dev-boun...@openvswitch.org> On > Behalf Of William Tu > Sent: Saturday, May 25, 2019 4:37 AM > To: Ben Pfaff <b...@ovn.org> > Cc: <d...@openvswitch.org> <d...@openvswitch.org>; Ilya Maximets > <i.maxim...@samsung.com> > Subject: Re: [ovs-dev] [PATCHv9] netdev-afxdp: add new netdev type for AF_XDP. > > On Fri, May 24, 2019 at 11:32 AM Ben Pfaff <b...@ovn.org> wrote: > > > > On Fri, May 24, 2019 at 11:03:33AM -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 <u9012...@gmail.com> > > > > How heavy is the x86(_64)-only dependency? It seems undesirable. is > > Now in my patch, the cycles_counter_update has x86-specific instructions. > Other part of the code has no x86-only dependency. > > The reason I made this x86-only is that AF_XDP is rarely tested on > non-x86 system. So I'm not sure whether it works or not. > > Regards, > William > _______________________________________________ > dev mailing list > d...@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-dev > IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any other person, use it for any purpose, or store or copy the > information in any medium. Thank you. _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev