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

2018-11-01 Thread Zhang, Qi Z
> -Original Message- > From: Ananyev, Konstantin > Sent: Thursday, November 1, 2018 6:48 AM > To: Xing, Beilei ; Zhang, Qi Z > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v3] net/i40e: fix Rx instability with vector > mode > > > H

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

2018-11-01 Thread Ananyev, Konstantin
Hi > > 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

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

2018-10-31 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