[dpdk-dev] [PATCH v2 1/3] net/af_xdp: enable zero copy by extbuf

Stephen Hemminger stephen at networkplumber.org
Thu May 30 17:31:44 CEST 2019


On Thu, 30 May 2019 17:07:05 +0800
Xiaolong Ye <xiaolong.ye at intel.com> wrote:

> Implement zero copy of af_xdp pmd through mbuf's external memory
> mechanism to achieve high performance.
> 
> This patch also provides a new parameter "pmd_zero_copy" for user, so they
> can choose to enable zero copy of af_xdp pmd or not.
> 
> To be clear, "zero copy" here is different from the "zero copy mode" of
> AF_XDP, it is about zero copy between af_xdp umem and mbuf used in dpdk
> application.
> 
> Suggested-by: Varghese Vipin <vipin.varghese at intel.com>
> Suggested-by: Tummala Sivaprasad <sivaprasad.tummala at intel.com>
> Suggested-by: Olivier Matz <olivier.matz at 6wind.com>
> Signed-off-by: Xiaolong Ye <xiaolong.ye at intel.com>

Why is this a parameter? Can it just be auto detected.
Remember configuration is evil, it hurts usability, code coverage
and increases complexity.


More information about the dev mailing list