numam-dpdk/drivers/net/i40e
Harry van Haaren f5dd9a88de net/i40e: fix rearm check in AVX2 Rx
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 return due the the mempool being emtpy.

The fix is to align the code in the AVX2 driver with the
SSE driver, where an if() is used instead of a while(),
allowing the thread to return from i40e rx function even
if the mempool is empty.

Fixes: dafadd7376 ("net/i40e: add AVX2 Rx function")
Cc: stable@dpdk.org

Reported-by: David Coyle <david.coyle@intel.com>
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Brendan Ryan <brendan.ryan@intel.com>
Tested-by: David Coyle <david.coyle@intel.com>
2018-08-01 02:41:29 +02:00
..
base net/i40e: fix shifts of signed values 2018-05-23 00:35:01 +02:00
i40e_ethdev_vf.c net/i40e: remove redundant queue id checks 2018-07-23 23:55:26 +02:00
i40e_ethdev.c net/i40e: fix device parameter parsing 2018-07-26 08:01:47 +02:00
i40e_ethdev.h net/i40e: fix maximum frame size check 2018-07-30 03:01:30 +02:00
i40e_fdir.c net/i40e: fix check of flow director programming status 2018-07-23 23:55:26 +02:00
i40e_flow.c net/i40e: remove summarized global register change info 2018-07-03 01:35:58 +02:00
i40e_logs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_pf.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_pf.h net/i40e: support AVF basic interface 2018-01-16 18:47:49 +01:00
i40e_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_rxtx_vec_altivec.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx_vec_avx2.c net/i40e: fix rearm check in AVX2 Rx 2018-08-01 02:41:29 +02:00
i40e_rxtx_vec_common.h net/i40e: remove dependency on old Rx flags 2018-05-23 00:35:01 +02:00
i40e_rxtx_vec_neon.c net/i40e: convert to SPDX license tag 2018-05-25 12:32:00 +02:00
i40e_rxtx_vec_sse.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx.c net/i40e: fix maximum frame size check 2018-07-30 03:01:30 +02:00
i40e_rxtx.h net/i40e: check illegal packets 2018-07-03 01:35:58 +02:00
i40e_tm.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_vf_representor.c net/i40e: remove dependency on old Rx flags 2018-05-23 00:35:01 +02:00
Makefile net/i40e: add support for representor ports 2018-04-27 18:00:57 +01:00
meson.build net/i40e: fix missing defines for non-AVX build 2018-05-08 22:14:07 +02:00
rte_pmd_i40e_version.map net/i40e: support input set configuration 2018-01-16 18:47:49 +01:00
rte_pmd_i40e.c net/i40e: fix packet type parsing with DDP 2018-07-23 23:55:26 +02:00
rte_pmd_i40e.h net/i40e: add support for representor ports 2018-04-27 18:00:57 +01:00