[ovs-dev] [PATCH] Docs: Add DPDK AF_XDP PMD use case.

David Marchand david.marchand at redhat.com
Thu Aug 22 06:00:32 UTC 2019


On Thu, Aug 22, 2019 at 12:49 AM William Tu <u9012063 at gmail.com> wrote:
>
> Add command lines for using DPDK's AF_XDP PMD driver.
>
> Signed-off-by: William Tu <u9012063 at gmail.com>
> ---
>  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


More information about the dev mailing list