Go to file
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
.ci ci: fix aarch64 cross compilation in GHA 2021-11-01 18:15:24 +01:00
.github/workflows ci: fix aarch64 cross compilation in GHA 2021-11-01 18:15:24 +01:00
app test/event: add unit test for Rx adapter 2021-11-04 08:41:25 +01:00
buildtools buildtools: fix build with Meson 0.60 2021-11-03 14:16:29 +01:00
config sched: add PIE based congestion management 2021-11-04 15:41:49 +01:00
devtools devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
doc net/bnxt: support TruFlow and AFM SRAM partitioning 2021-11-04 22:13:53 +01:00
drivers net/bnxt: fix scalar Rx datapath on Thor 2021-11-05 02:00:49 +01:00
examples crypto/mlx5: support 1MB data-unit 2021-11-04 19:46:27 +01:00
kernel kni: fix build for SLES15-SP3 2021-10-25 15:30:23 +02:00
lib eventdev: support device maintenance in adapters 2021-11-04 13:28:09 +01:00
license lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
usertools usertools/devbind: conform to PEP8 recommended style 2021-10-25 22:31:53 +02:00
.editorconfig doc: add Meson coding style to contributors guide 2021-04-21 14:04:09 +02:00
.gitattributes
.gitignore doc: add cryptodev table for supported operating systems 2021-11-04 19:51:11 +01:00
.travis.yml version: 21.11-rc0 2021-08-17 08:37:52 +02:00
ABI_VERSION version: 21.11-rc0 2021-08-17 08:37:52 +02:00
MAINTAINERS vdpa/sfc: introduce Xilinx vDPA driver 2021-11-04 13:43:23 +01:00
Makefile build: create dummy Makefile 2020-09-07 23:51:57 +02:00
meson_options.txt config: add option for atomic mbuf reference counting 2021-10-25 17:53:30 +02:00
meson.build lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 21.11-rc1 2021-10-25 22:42:47 +02:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org