numam-dpdk/drivers/net/bnxt
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
..
bnxt_cpr.c net/bnxt: fix link during port toggle 2020-01-17 19:46:01 +01:00
bnxt_cpr.h net/bnxt: support hot firmware upgrade for Stingray 2019-10-08 12:14:30 +02:00
bnxt_ethdev.c net/bnxt: fix link during port toggle 2020-01-17 19:46:01 +01:00
bnxt_filter.c net/bnxt: reset filter indices on free 2020-01-17 19:45:23 +01:00
bnxt_filter.h net/bnxt: fix reusing L2 filter 2020-01-17 19:46:01 +01:00
bnxt_flow.c net/bnxt: fix reusing L2 filter 2020-01-17 19:46:01 +01:00
bnxt_hwrm.c net/bnxt: fix reusing L2 filter 2020-01-17 19:46:01 +01:00
bnxt_hwrm.h net/bnxt: fix Tx queue profile selection 2020-01-17 19:46:01 +01:00
bnxt_irq.c net/bnxt: add more checks during firmware reset 2019-10-25 19:23:23 +02:00
bnxt_irq.h net/bnxt: change MSI-X vector to queue mapping 2019-10-23 16:43:08 +02:00
bnxt_nvm_defs.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_ring.c net/bnxt: fix initialization 2019-11-08 23:15:04 +01:00
bnxt_ring.h net/bnxt: fix initialization 2019-11-08 23:15:04 +01:00
bnxt_rxq.c net/bnxt: fix null dereference in Rx stop 2019-11-20 17:36:05 +01:00
bnxt_rxq.h net/bnxt: use common NQ ring 2019-10-08 12:14:32 +02:00
bnxt_rxr.c net/bnxt: fix IP checksum error indication 2019-11-20 17:36:05 +01:00
bnxt_rxr.h net/bnxt: support LRO on Thor adapters 2019-10-08 12:14:32 +02:00
bnxt_rxtx_vec_sse.c net/bnxt: improve CPR handling in vector path 2019-10-08 12:14:32 +02:00
bnxt_stats.c net/bnxt: remove unnecessary macro for unused variables 2020-01-17 19:45:23 +01:00
bnxt_stats.h ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
bnxt_txq.c net/bnxt: limit queue count for NS3/Stingray devices 2019-11-20 17:36:05 +01:00
bnxt_txq.h net/bnxt: use common NQ ring 2019-10-08 12:14:32 +02:00
bnxt_txr.c net/bnxt: remove redundant header file inclusion 2019-10-23 16:43:08 +02:00
bnxt_txr.h net/bnxt: prevent device access when device is in reset 2019-10-08 12:14:30 +02:00
bnxt_util.c net/bnxt: fix VF probe when MAC address is zero 2019-07-23 14:31:35 +02:00
bnxt_util.h net/bnxt: use macro for bit definitions 2019-10-08 12:14:30 +02:00
bnxt_vnic.c net/bnxt: fix freeing all VNICs during port stop 2019-11-26 18:05:15 +01:00
bnxt_vnic.h net/bnxt: fix initialization 2019-11-08 23:15:04 +01:00
bnxt.h net/bnxt: fix link during port toggle 2020-01-17 19:46:01 +01:00
hsi_struct_def_dpdk.h net/bnxt: update HWRM API to version 1.10.1.6 2019-10-25 19:23:22 +02:00
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build build: remove individual library versions 2019-11-20 23:05:39 +01:00
rte_pmd_bnxt_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
rte_pmd_bnxt.c net/bnxt: check status of getting ethdev info 2019-10-07 14:45:35 +02:00
rte_pmd_bnxt.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00