On Thu, Aug 22, 2019 at 12:49 AM William Tu <[email protected]> wrote: > > Add command lines for using DPDK's AF_XDP PMD driver. > > Signed-off-by: William Tu <[email protected]> > --- > Documentation/intro/install/afxdp.rst | 36 > +++++++++++++++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > > diff --git a/Documentation/intro/install/afxdp.rst > b/Documentation/intro/install/afxdp.rst > index 820e9d993d8f..c3e03b40f3b5 100644 > --- a/Documentation/intro/install/afxdp.rst > +++ b/Documentation/intro/install/afxdp.rst > @@ -426,6 +426,42 @@ In the namespace, run drop or bounce back the packet:: > ip netns exec at_ns0 ./xdp_rxq_info --dev p0 --action XDP_TX > > > +Using DPDK's AF_XDP PMD driver > +------------------------------ > +Another way to use AF_XDP is to enable DPDK and use DPDK's AF_XDP > +driver. First, enable the AF_XDP PMD config at DPDK's > +config/common_base file by:: > + > + CONFIG_RTE_LIBRTE_PMD_AF_XDP=y > + > +and recompile the DPDK source. Then, compile OVS with DPDK::
The AF_XDP pmd went in dpdk 19.05. OVS master uses dpdk 18.11.2. - https://github.com/openvswitch/ovs/commit/446a2a7ede1f377687e8c0d848d63eb5e9988cfa is required to build against 19.05, - https://github.com/openvswitch/ovs/commit/75e5e39e5468cb9f15114f7d8b367d39bc26756c is required to build against 19.08, If you want to have a note in this doc in the master branch, you must properly explain this, or users will be disappointed and complain on the ml :-) -- David Marchand _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
