numam-dpdk/drivers/net
Somnath Kotur b7e5f647e2 net/bnxt: fix freeing all VNICs during port stop
Now that vnics are created only as part of the flow creation cmds
and not during init, we cannot rely on iterating only through
'nr_vnics'. We need to sweep all the vnics by using 'max_vnics'
otherwise a vnic with a stale 'rx_queue_cnt' might be left lingering
post a port stop/start operation. This could lead to a segfault.
This change is required because of the recent fix made by commit to
"fix flow creation with non-consecutive group ids".

Fixes: fcdd7210aa ("net/bnxt: fix flow creation with non-consecutive group ids")

Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2019-11-26 18:05:15 +01:00
..
af_packet build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
af_xdp build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
ark build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
atlantic build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
avp build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
axgbe build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
bnx2x build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
bnxt net/bnxt: fix freeing all VNICs during port stop 2019-11-26 18:05:15 +01:00
bonding build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
cxgbe build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
dpaa build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
dpaa2 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
e1000 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
ena build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
enetc build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
enic build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
failsafe build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
fm10k build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
hinic build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
hns3 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
i40e build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
iavf remove blank lines at end of file 2019-11-26 00:12:08 +01:00
ice net/ice: support flow director for normal GTPU 2019-11-26 18:05:15 +01:00
ifc build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
ipn3ke build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
ixgbe net/ixgbe: fix performance drop caused by MACsec 2019-11-26 18:05:15 +01:00
kni build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
liquidio build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
memif build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
mlx4 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
mlx5 net/mlx5: fix selection between encap and decap 2019-11-26 18:05:15 +01:00
mvneta build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
mvpp2 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
netvsc build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
nfb build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
nfp build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
null build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
octeontx net/octeontx: set queue offload capabilities 2019-11-26 07:49:30 +01:00
octeontx2 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
pcap build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
pfe build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
qede build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
ring build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
sfc build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
softnic build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
szedata2 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
tap build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
thunderx build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
vdev_netvsc build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
vhost build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
virtio net/virtio-user: drop attribute unused for memory callback 2019-11-26 18:05:15 +01:00
vmxnet3 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
Makefile net/pfe: introduce basic functions 2019-10-23 16:43:08 +02:00
meson.build net/pfe: introduce basic functions 2019-10-23 16:43:08 +02:00