Re: [dpdk-dev] [PATCH v1] net/af_xdp: support need wakeup feature

2019-06-17 Thread Bruce Richardson
On Mon, Jun 17, 2019 at 10:51:52AM +0200, David Marchand wrote: > On Mon, Jun 17, 2019 at 10:45 AM Ye Xiaolong wrote: > > > On 06/17, David Marchand wrote: > > >On Mon, Jun 17, 2019 at 9:42 AM Xiaolong Ye > > wrote: > > > > > >> This patch adds a new devarg to support the need_wakeup flag for Tx

Re: [dpdk-dev] [PATCH v1] net/af_xdp: support need wakeup feature

2019-06-17 Thread Ye Xiaolong
On 06/17, David Marchand wrote: >On Mon, Jun 17, 2019 at 10:45 AM Ye Xiaolong wrote: > >> On 06/17, David Marchand wrote: >> >On Mon, Jun 17, 2019 at 9:42 AM Xiaolong Ye >> wrote: >> > >> >> This patch adds a new devarg to support the need_wakeup flag for Tx and >> >> fill rings, when this flag i

Re: [dpdk-dev] [PATCH v1] net/af_xdp: support need wakeup feature

2019-06-17 Thread David Marchand
On Mon, Jun 17, 2019 at 10:45 AM Ye Xiaolong wrote: > On 06/17, David Marchand wrote: > >On Mon, Jun 17, 2019 at 9:42 AM Xiaolong Ye > wrote: > > > >> This patch adds a new devarg to support the need_wakeup flag for Tx and > >> fill rings, when this flag is set by the driver, it means that the >

Re: [dpdk-dev] [PATCH v1] net/af_xdp: support need wakeup feature

2019-06-17 Thread Ye Xiaolong
On 06/17, David Marchand wrote: >On Mon, Jun 17, 2019 at 9:42 AM Xiaolong Ye wrote: > >> This patch adds a new devarg to support the need_wakeup flag for Tx and >> fill rings, when this flag is set by the driver, it means that the >> userspace application has to explicitly wake up the kernel Rx or

Re: [dpdk-dev] [PATCH v1] net/af_xdp: support need wakeup feature

2019-06-17 Thread David Marchand
On Mon, Jun 17, 2019 at 9:42 AM Xiaolong Ye wrote: > This patch adds a new devarg to support the need_wakeup flag for Tx and > fill rings, when this flag is set by the driver, it means that the > userspace application has to explicitly wake up the kernel Rx or kernel Tx > processing by issuing a

[dpdk-dev] [PATCH v1] net/af_xdp: support need wakeup feature

2019-06-17 Thread Xiaolong Ye
This patch adds a new devarg to support the need_wakeup flag for Tx and fill rings, when this flag is set by the driver, it means that the userspace application has to explicitly wake up the kernel Rx or kernel Tx processing by issuing a syscall. Poll() can wake up both and sendto() or its alternat