Re: [dpdk-dev] [PATCH] af_xdp: avoid deadlock due to empty fill queue

2020-09-18 Thread Li,Rongqing
> -Original Message- > From: Loftus, Ciara [mailto:ciara.lof...@intel.com] > Sent: Friday, September 18, 2020 5:27 PM > To: Li,Rongqing ; dev@dpdk.org > Cc: sta...@dpdk.org > Subject: RE: [dpdk-dev] [PATCH] af_xdp: avoid deadlock due to empty fill queue > > &g

Re: [dpdk-dev] [PATCH] af_xdp: avoid deadlock due to empty fill queue

2020-09-18 Thread Loftus, Ciara
> when receive packets, it is possible to fail to reserve > fill queue, since buffer ring is shared between tx and rx, > and maybe not available temporary. at last, both fill > queue and rx queue are empty. > > then kernel side will be unable to receive packets due to > empty fill queue, and dpdk

[dpdk-dev] [PATCH] af_xdp: avoid deadlock due to empty fill queue

2020-09-17 Thread Li RongQing
when receive packets, it is possible to fail to reserve fill queue, since buffer ring is shared between tx and rx, and maybe not available temporary. at last, both fill queue and rx queue are empty. then kernel side will be unable to receive packets due to empty fill queue, and dpdk will be unable