Re: [dpdk-dev] [PATCH v4] net/i40e: fix Rx instability with vector mode

2018-11-05 Thread Zhang, Qi Z
> -Original Message- > From: Ananyev, Konstantin > Sent: Monday, November 5, 2018 4:05 AM > To: Xing, Beilei ; Zhang, Qi Z > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH v4] net/i40e: fix Rx instability with vector mode > > > > > > Previously, there is instability during ve

Re: [dpdk-dev] [PATCH v4] net/i40e: fix Rx instability with vector mode

2018-11-05 Thread Ananyev, Konstantin
> > Previously, there is instability during vector Rx if descriptor > number is not power of 2, e.g. process hang and some Rx packets > are unexpectedly empty. That's because vector Rx mode assumes Rx > descriptor number is power of 2 when doing bit mask. > This patch allows vector mode only whe

[dpdk-dev] [PATCH v4] net/i40e: fix Rx instability with vector mode

2018-11-04 Thread Beilei Xing
Previously, there is instability during vector Rx if descriptor number is not power of 2, e.g. process hang and some Rx packets are unexpectedly empty. That's because vector Rx mode assumes Rx descriptor number is power of 2 when doing bit mask. This patch allows vector mode only when the number of