numam-dpdk/drivers/net
Somnath Kotur f0f6b5e6cf net/bnxt: fix reusing L2 filter
The software L2 filter was being released back to the free pool,
though it was created in HW and the filter corresponding to an actual
'flow' would have reference to the HW L2 filter.
But if this 'flow were to be deleted, then this HW L2 filter also
would be gone.
Fix this by storing the L2 filter created originally either for an
n-tuple flow or otherwise as part of the vnic's filter list.
This would require the filter_info struct to have a backptr to the
vnic which it came from.
Now that L2 filters can be re-used for an n-tuple filter(s), delete
L2 filter as well so the reference count of an L2 filter (if reused)
can be decremented appropriately.

Fixes: 5c1171c972 ("net/bnxt: refactor filter/flow")
Cc: stable@dpdk.org

Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2020-01-17 19:46:01 +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 reusing L2 filter 2020-01-17 19:46:01 +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 drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00
dpaa2 drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00
e1000 net/e1000: fix link status 2019-11-26 18:05:15 +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 net/fm10k: fix descriptor VLAN field filling in Tx 2020-01-17 19:45:23 +01:00
hinic build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
hns3 net/hns3: fix checking enough Tx BDs 2019-11-26 18:05:15 +01:00
i40e net/i40e: set fixed flag for exact link speed 2020-01-17 19:46:01 +01:00
iavf net/iavf: fix virtual channel return 2020-01-17 19:46:01 +01:00
ice net/ice: fix VSI context 2020-01-17 19:46:01 +01:00
ipn3ke net/ipn3ke: fix line side statistics register read 2020-01-17 19:46:01 +01:00
ixgbe net/ixgbe: set fixed flag for exact link speed 2020-01-17 19:46:01 +01:00
kni net/kni: fix crash caused by double stop 2019-11-26 18:22:27 +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 net/mlx: fix build with clang 9 2019-12-12 23:23:25 +01:00
mlx5 net/mlx5: fix item flag on GENEVE item validation 2020-01-17 19:46:01 +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 net/netvsc: disable before changing RSS parameters 2020-01-17 19:45:23 +01:00
nfb build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
nfp net/nfp: replace license text with SPDX tag 2019-11-28 02:12:41 +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 net/octeontx2: fix loopback config return for VF 2019-11-26 18:05:15 +01:00
pcap net/pcap: truncate packet if it is too large 2020-01-17 19:45:23 +01:00
pfe drivers: update copyright for NXP files 2019-11-28 16:03:54 +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 net/thunderx: use new API to save cycles on aarch64 2020-01-17 12:02:21 +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 drivers: move ifc to vDPA directory 2020-01-14 00:09:33 +01:00
meson.build drivers: move ifc to vDPA directory 2020-01-14 00:09:33 +01:00