Re: [dpdk-dev] [PATCH v2] net/i40e: fix avx2 driver check for rx rearm

2018-07-31 Thread Zhang, Qi Z
> -Original Message- > From: Coyle, David > Sent: Tuesday, July 31, 2018 10:25 PM > To: Van Haaren, Harry ; dev@dpdk.org > Cc: Richardson, Bruce ; sta...@dpdk.org; > tho...@monjalon.net; Xing, Beilei ; Zhang, Qi Z > > Subject: RE: [PATCH v2] net/i40e: fix avx2 driver check for rx rearm

Re: [dpdk-dev] [PATCH v2] net/i40e: fix avx2 driver check for rx rearm

2018-07-31 Thread Coyle, David
-Original Message- From: Van Haaren, Harry Sent: Monday, July 30, 2018 6:34 PM To: dev@dpdk.org Cc: Van Haaren, Harry ; Richardson, Bruce ; sta...@dpdk.org; tho...@monjalon.net; Coyle, David ; Xing, Beilei ; Zhang, Qi Z Subject: [PATCH v2] net/i40e: fix avx2 driver check for rx rear

[dpdk-dev] [PATCH v2] net/i40e: fix avx2 driver check for rx rearm

2018-07-30 Thread Harry van Haaren
This commit fixes an infinite loop bug that could occur if the i40e AVX2 driver is used, and high traffic rates cause the mempool from which the rxq pulls mbufs to become empty. The result would be an infinite loop of checking if we should perform an rx rearm, calling the function and an error ret