numam-dpdk/drivers/net/bnxt
Somnath Kotur 7e8d5583f7 net/bnxt: fix scalar Rx datapath on Thor
The patch introduced by
commit 657c2a7f1d ("net/bnxt: create aggregation rings when needed")
ended up shortening the return code path from the function thereby
resulting in not executing the line of code at the end of the function
that was resetting the next consumer index to 0.
This would result in an application crash when error recovery or other
port stop/start scenarios were invoked on Thor which is what this
commit 61cd4384fa ("net/bnxt: fix crash after port stop/start")
was addressing.
Fix it by moving the resetting line of code before the return path
in the case when aggregation rings are not used (default case).

Fixes: 657c2a7f1d ("net/bnxt: create aggregation rings when needed")

Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2021-11-05 02:00:49 +01:00
..
hcapi/cfa net/bnxt: cleanup ULP parser and mapper 2021-07-08 02:02:14 +02:00
tf_core net/bnxt: use enum for bank ID 2021-11-04 22:15:10 +01:00
tf_ulp net/bnxt: check mismatch of control and physical port 2021-11-04 22:14:49 +01:00
bnxt_cpr.c net/bnxt: increase flow scale for Thor 2021-11-04 22:11:36 +01:00
bnxt_cpr.h net/bnxt: improve error recovery information messages 2021-09-27 06:30:51 +02:00
bnxt_ethdev.c net/bnxt: remove devargs option for stats accumulation 2021-11-04 22:11:56 +01:00
bnxt_filter.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_filter.h net/bnxt: enhance RSS action support 2021-10-12 22:36:10 +02:00
bnxt_flow.c net/bnxt: fix flow RSS failure handling 2021-10-28 06:23:11 +02:00
bnxt_hwrm.c net/bnxt: modify VF representor allocation sequence 2021-11-04 22:13:13 +01:00
bnxt_hwrm.h net/bnxt: modify VF representor allocation sequence 2021-11-04 22:13:13 +01:00
bnxt_irq.c drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
bnxt_irq.h net/bnxt: rename a member to avoid conflict 2021-03-12 07:13:49 +01:00
bnxt_nvm_defs.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_reps.c net/bnxt: modify VF representor allocation sequence 2021-11-04 22:13:13 +01:00
bnxt_reps.h ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
bnxt_ring.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
bnxt_ring.h net/bnxt: fix ring and context memory allocation 2021-07-08 05:55:52 +02:00
bnxt_rxq.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
bnxt_rxq.h net/bnxt: create aggregation rings when needed 2021-10-12 22:35:13 +02:00
bnxt_rxr.c net/bnxt: fix scalar Rx datapath on Thor 2021-11-05 02:00:49 +01:00
bnxt_rxr.h mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
bnxt_rxtx_vec_avx2.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
bnxt_rxtx_vec_common.h ethdev: add namespace 2021-10-22 18:15:38 +02:00
bnxt_rxtx_vec_neon.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
bnxt_rxtx_vec_sse.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
bnxt_stats.c net/bnxt: clear cached statistics 2021-07-15 02:31:32 +02:00
bnxt_stats.h net/bnxt: drop unused attribute 2021-04-24 21:23:09 +02:00
bnxt_txq.c ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
bnxt_txq.h ethdev: change queue release callback 2021-10-06 19:16:03 +02:00
bnxt_txr.c mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
bnxt_txr.h mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
bnxt_util.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_util.h net/bnxt: add action SRAM translation 2021-07-08 01:56:51 +02:00
bnxt_vnic.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
bnxt_vnic.h net/bnxt: use prefix on global function 2021-04-24 21:39:12 +02:00
bnxt.h net/bnxt: remove devargs option for stats accumulation 2021-11-04 22:11:56 +01:00
hsi_struct_def_dpdk.h net/bnxt: support multi root capability 2021-11-04 21:51:52 +01:00
meson.build net/bnxt: remove stale compilation option 2021-10-28 19:58:54 +02:00
rte_pmd_bnxt.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
rte_pmd_bnxt.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00