Re: [dpdk-dev] [PATCH v3 0/6] PMD driver for AF_XDP

2018-08-28 Thread Zhang, Qi Z
Hi William: > -Original Message- > From: William Tu [mailto:u9012...@gmail.com] > Sent: Friday, August 24, 2018 12:25 AM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Karlsson, Magnus ; Topel, > Bjorn ; Wu, Jingjing ; Li, > Xiaoyun ; Yigit, Ferruh > Subject: Re: [dpdk

Re: [dpdk-dev] [PATCH v3 0/6] PMD driver for AF_XDP

2018-08-24 Thread Zhang, Qi Z
Sorry, the patch for kernel sample code is not complete. It should be as below ~~~PATCH START diff --git a/samples/bpf/xdpsock_user.c b/samples/bpf/xdpsock_user.c index d69c8d78d3fd..44a6318043e7 100644 --- a/samples/bpf/xdpsock_user.c +++ b/sa

Re: [dpdk-dev] [PATCH v3 0/6] PMD driver for AF_XDP

2018-08-23 Thread William Tu
Hi Zhang Qi, I'm not familiar with DPDK code, but I'm curious about the benefits of using AF_XDP pmd, specifically I have a couple questions: 1) With zero-copy driver support, is AF_XDP pmd expects to have similar performance than other pmd? Since AF_XDP is still using native device driver, isn't

[dpdk-dev] [PATCH v3 0/6] PMD driver for AF_XDP

2018-08-16 Thread Qi Zhang
Overview The patch set add a new PMD driver for AF_XDP which is a proposed faster version of AF_PACKET interface in Linux, see below link for detail AF_XDP introduction: https://lwn.net/Articles/750845/ https://fosdem.org/2018/schedule/event/af_xdp/ AF_XDP roadmap == - The ke