On Fri, Oct 26, 2018 at 02:33:27PM +0800, Beilei Xing wrote: > 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 Rx descriptor > is power of 2. > > Fixes: 8e109464c022 ("i40e: allow vector Rx and Tx usage") > Fixes: a3c83a2527e1 ("net/i40e: enable runtime queue setup") > Cc: sta...@dpdk.org > > Signed-off-by: Beilei Xing <beilei.x...@intel.com> > --- > Do we not limit our descriptor ring sizes to powers of two anyway? Is there a real need for non-power-of-2 ring sizes?
- [dpdk-dev] [PATCH] net/i40e: fix Rx instability with v... Beilei Xing
- Re: [dpdk-dev] [PATCH] net/i40e: fix Rx instabili... Zhang, Qi Z
- [dpdk-dev] [PATCH v2] net/i40e: fix Rx instabilit... Beilei Xing
- Re: [dpdk-dev] [PATCH v2] net/i40e: fix Rx in... Ananyev, Konstantin
- Re: [dpdk-dev] [PATCH v2] net/i40e: fix R... Zhang, Qi Z
- Re: [dpdk-dev] [PATCH v2] net/i40e: f... Xing, Beilei
- Re: [dpdk-dev] [PATCH v2] net/i40e: fix Rx in... Bruce Richardson
- Re: [dpdk-dev] [PATCH v2] net/i40e: fix R... Zhang, Qi Z
- [dpdk-dev] [PATCH v3] net/i40e: fix Rx instab... Beilei Xing
- Re: [dpdk-dev] [PATCH v3] net/i40e: fix R... Ananyev, Konstantin
- Re: [dpdk-dev] [PATCH v3] net/i40e: f... Zhang, Qi Z
- [dpdk-dev] [PATCH v4] net/i40e: fix Rx in... Beilei Xing
- Re: [dpdk-dev] [PATCH v4] net/i40e: f... Ananyev, Konstantin
- Re: [dpdk-dev] [PATCH v4] net/i4... Zhang, Qi Z