Re: [dpdk-dev] [PATCH] net/af_xdp: fix Tx halt when no recv packets

2019-09-17 Thread Loftus, Ciara
> > The kernel only consumes Tx packets if we have some Rx traffic on specified > queue or we have called send(). So we need to issue a send() even when the > allocation fails so that kernel will start to consume packets again. > > Commit 45bba02c95b0 ("net/af_xdp: support need wakeup feature") b

Re: [dpdk-dev] [PATCH] net/af_xdp: fix Tx halt when no recv packets

2019-09-11 Thread Zhang, Qi Z
> -Original Message- > From: Ye, Xiaolong > Sent: Wednesday, September 11, 2019 8:56 PM > To: Zhang, Qi Z > Cc: Yigit, Ferruh ; Loftus, Ciara > ; dev@dpdk.org; sta...@dpdk.org; Karlsson, > Magnus > Subject: Re: [PATCH] net/af_xdp: fix Tx halt when no recv packets > > On 09/11, Zhang,

Re: [dpdk-dev] [PATCH] net/af_xdp: fix Tx halt when no recv packets

2019-09-11 Thread Ye Xiaolong
On 09/11, Zhang, Qi Z wrote: > > >> -Original Message- >> From: Ye, Xiaolong >> Sent: Tuesday, September 10, 2019 11:09 PM >> To: Zhang, Qi Z >> Cc: Yigit, Ferruh ; Loftus, Ciara >> ; dev@dpdk.org; sta...@dpdk.org; Karlsson, >> Magnus >> Subject: Re: [PATCH] net/af_xdp: fix Tx halt when n

Re: [dpdk-dev] [PATCH] net/af_xdp: fix Tx halt when no recv packets

2019-09-10 Thread Zhang, Qi Z
> -Original Message- > From: Ye, Xiaolong > Sent: Tuesday, September 10, 2019 11:09 PM > To: Zhang, Qi Z > Cc: Yigit, Ferruh ; Loftus, Ciara > ; dev@dpdk.org; sta...@dpdk.org; Karlsson, > Magnus > Subject: Re: [PATCH] net/af_xdp: fix Tx halt when no recv packets > > On 09/10, Zhang, Q

Re: [dpdk-dev] [PATCH] net/af_xdp: fix Tx halt when no recv packets

2019-09-10 Thread Zhang, Qi Z
> -Original Message- > From: Ye, Xiaolong > Sent: Tuesday, September 10, 2019 9:54 PM > To: Zhang, Qi Z > Cc: Yigit, Ferruh ; Loftus, Ciara > ; dev@dpdk.org; sta...@dpdk.org; Karlsson, > Magnus > Subject: Re: [PATCH] net/af_xdp: fix Tx halt when no recv packets > > On 09/10, Zhang, Qi

Re: [dpdk-dev] [PATCH] net/af_xdp: fix Tx halt when no recv packets

2019-09-10 Thread Ye Xiaolong
On 09/10, Zhang, Qi Z wrote: > > >> -Original Message- >> From: Ye, Xiaolong >> Sent: Tuesday, September 10, 2019 9:54 PM >> To: Zhang, Qi Z >> Cc: Yigit, Ferruh ; Loftus, Ciara >> ; dev@dpdk.org; sta...@dpdk.org; Karlsson, >> Magnus >> Subject: Re: [PATCH] net/af_xdp: fix Tx halt when no

Re: [dpdk-dev] [PATCH] net/af_xdp: fix Tx halt when no recv packets

2019-09-10 Thread Zhang, Qi Z
> -Original Message- > From: Ye, Xiaolong > Sent: Tuesday, September 10, 2019 9:54 PM > To: Zhang, Qi Z > Cc: Yigit, Ferruh ; Loftus, Ciara > ; dev@dpdk.org; sta...@dpdk.org; Karlsson, > Magnus > Subject: Re: [PATCH] net/af_xdp: fix Tx halt when no recv packets > > On 09/10, Zhang, Qi

Re: [dpdk-dev] [PATCH] net/af_xdp: fix Tx halt when no recv packets

2019-09-10 Thread Ye Xiaolong
On 09/10, Zhang, Qi Z wrote: > > >> -Original Message- >> From: Ye, Xiaolong >> Sent: Tuesday, September 10, 2019 12:13 AM >> To: Yigit, Ferruh ; Loftus, Ciara >> ; Ye, Xiaolong ; Zhang, Qi Z >> >> Cc: dev@dpdk.org; sta...@dpdk.org >> Subject: [PATCH] net/af_xdp: fix Tx halt when no recv p

Re: [dpdk-dev] [PATCH] net/af_xdp: fix Tx halt when no recv packets

2019-09-09 Thread Zhang, Qi Z
> -Original Message- > From: Ye, Xiaolong > Sent: Tuesday, September 10, 2019 12:13 AM > To: Yigit, Ferruh ; Loftus, Ciara > ; Ye, Xiaolong ; Zhang, Qi Z > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [PATCH] net/af_xdp: fix Tx halt when no recv packets > > The kernel only consumes T

[dpdk-dev] [PATCH] net/af_xdp: fix Tx halt when no recv packets

2019-09-09 Thread Xiaolong Ye
The kernel only consumes Tx packets if we have some Rx traffic on specified queue or we have called send(). So we need to issue a send() even when the allocation fails so that kernel will start to consume packets again. Commit 45bba02c95b0 ("net/af_xdp: support need wakeup feature") breaks above r