numam-dpdk/drivers
Ajit Khaparde 1b533790f4 net/bnxt: avoid invalid vnic id in set L2 Rx mask
In some cases bnxt_hwrm_cfa_l2_set_rx_mask is being called before
VNICs are allocated. The FW returns an error in such cases.
Move bnxt_init_nic to bnxt_dev_init such that the ids are initialized
to an invalid id.
Prevent sending the command to the FW only with a valid vnic id.

Fixes: 244bc98b0d ("net/bnxt: set L2 Rx mask")
Cc: stable@dpdk.org

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2018-04-27 15:54:56 +01:00
..
baseband drivers: rename bbdev directory to baseband 2018-03-21 22:43:05 +01:00
bus bus/vdev: fix find device implementation 2018-04-27 16:31:49 +02:00
common common/octeontx: move mbox to common folder 2018-04-04 23:14:52 +02:00
crypto crypto/dpaa2_sec: fix HMAC supported digest sizes 2018-04-23 18:20:10 +01:00
event event/octeontx: fix snprintf mempool name overflow 2018-04-25 16:49:17 +02:00
mempool mempool/bucket: do not allow one lcore to grab all buckets 2018-04-26 23:34:07 +02:00
net net/bnxt: avoid invalid vnic id in set L2 Rx mask 2018-04-27 15:54:56 +01:00
raw raw/skeleton: fix device start test 2018-02-06 17:32:34 +01:00
Makefile drivers: add common folder 2018-04-04 17:40:03 +02:00
meson.build drivers: add common folder 2018-04-04 17:40:03 +02:00