[dpdk-dev] [PATCH v2 1/3] net/af_xdp: enable zero copy by extbuf
Ye Xiaolong
xiaolong.ye at intel.com
Fri May 31 03:49:13 CEST 2019
On 05/30, Stephen Hemminger wrote:
>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.
In case there might be situations when some users would perfer a slower copy
mode, we can just let user decide.
Thanks,
Xiaolong
>Remember configuration is evil, it hurts usability, code coverage
>and increases complexity.
More information about the dev
mailing list