numam-dpdk/drivers/net/bnxt
Ajit Khaparde 23460b4c6a net/bnxt: avoid freeing memzone multiple times
Since we are storing the mem_zone address for each ring created,
we are freeing the same address multiple times.
For example the memory zone created for Rx is being freed during
Rx ring cleanup, AGG ring cleanup and CQ cleanup.
Avoid this by storing the memory zone address in RXQ instead and
free it as a part of queue_release dev_op.
In the same way do the same for TX queues as well.

Fixes: 51c87ebafc ("net/bnxt: add Tx queue create/destroy")
Cc: stable@dpdk.org

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2018-04-27 15:54:56 +01:00
..
bnxt_cpr.c net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_cpr.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_ethdev.c net/bnxt: maintain mbuf alloc failure counter per queue 2018-04-27 15:54:56 +01:00
bnxt_filter.c net/bnxt: use UINT64_MAX to initialize filter ids 2018-04-27 15:54:56 +01:00
bnxt_filter.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_hwrm.c net/bnxt: use UINT64_MAX to initialize filter ids 2018-04-27 15:54:56 +01:00
bnxt_hwrm.h net/bnxt: add code to determine the Tx COS queue 2018-04-27 15:54:56 +01:00
bnxt_irq.c net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_irq.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +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: avoid freeing memzone multiple times 2018-04-27 15:54:56 +01:00
bnxt_ring.h net/bnxt: avoid freeing memzone multiple times 2018-04-27 15:54:56 +01:00
bnxt_rxq.c net/bnxt: avoid freeing memzone multiple times 2018-04-27 15:54:56 +01:00
bnxt_rxq.h net/bnxt: avoid freeing memzone multiple times 2018-04-27 15:54:56 +01:00
bnxt_rxr.c net/bnxt: maintain mbuf alloc failure counter per queue 2018-04-27 15:54:56 +01:00
bnxt_rxr.h net/bnxt: fix Rx checksum flags for tunnel frames 2018-04-27 15:54:55 +01:00
bnxt_stats.c net/bnxt: maintain mbuf alloc failure counter per queue 2018-04-27 15:54:56 +01:00
bnxt_stats.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_txq.c net/bnxt: avoid freeing memzone multiple times 2018-04-27 15:54:56 +01:00
bnxt_txq.h net/bnxt: avoid freeing memzone multiple times 2018-04-27 15:54:56 +01:00
bnxt_txr.c net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_txr.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_vnic.c net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_vnic.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt.h net/bnxt: maintain mbuf alloc failure counter per queue 2018-04-27 15:54:56 +01:00
hsi_struct_def_dpdk.h net/bnxt: add code to determine the Tx COS queue 2018-04-27 15:54:56 +01:00
Makefile pci: introduce library and driver 2017-10-26 23:17:31 +02:00
rte_pmd_bnxt_version.map net/bnxt: fix automatic clearing of VF stats 2017-07-06 15:00:57 +02:00
rte_pmd_bnxt.c net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
rte_pmd_bnxt.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00