Go to file
Kalesh AP 90bdf7956c net/bnxt: fix initialization
During initialization sequence in bnxt_alloc_mem()
if bnxt_alloc_async_cp_ring() fails, driver invokes bnxt_free_mem()
which in turn call bnxt_free_vnic_mem() which causes the error logs
"bnxt_free_vnic_mem(): VNIC is not freed yet!". This is because
vnic memory is allocated but not initialized yet.

Fix this by moving bnxt_init_vnics() from bnxt_init_nic() to
bnxt_alloc_vnic_mem(). Also get rid of bnxt_init_nic() as the
initialization is done in respective functions now.

Fixes: 1bf01f5135 ("net/bnxt: prevent device access when device is in reset")

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Santoshkumar Karanappa Rastapur <santosh.rastapur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2019-11-08 23:15:04 +01:00
.ci ci: exit setup on any error 2019-09-13 13:19:00 +02:00
app ethdev: add flow tag 2019-11-08 23:15:04 +01:00
buildtools lib: check experimental symbols with meson 2019-11-09 21:17:12 +01:00
config build: add option to enable LTO 2019-11-08 15:17:05 +01:00
devtools devtools: fix cleanup of checkpatch temporary file 2019-10-21 16:19:00 +02:00
doc doc: remove flow director feature from hns3 2019-11-08 23:15:04 +01:00
drivers net/bnxt: fix initialization 2019-11-08 23:15:04 +01:00
examples examples/ipsec-secgw: fix library mode selection in tests 2019-11-08 13:51:16 +01:00
kernel kni: add ability to set min/max MTU 2019-10-27 11:07:43 +01:00
lib ethdev: add flow tag 2019-11-08 23:15:04 +01:00
license fix dpdk.org URLs 2018-11-26 20:19:24 +01:00
mk mk: fix dpaax library dependency 2019-11-08 23:15:04 +01:00
usertools usertools: fix telemetry client with python 3 2019-10-27 21:38:40 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: fix missing asymmetric crypto table 2019-04-18 16:01:28 +02:00
.travis.yml ci: remove LTO job 2019-11-08 20:58:33 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS doc: add application usage guide for l2fwd-event 2019-11-04 18:09:36 +01:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt build: support disabling drivers with meson 2019-10-24 01:02:29 +02:00
meson.build build: print list of disabled components 2019-07-02 23:20:26 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 19.11-rc1 2019-10-27 22:46:22 +01: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