numam-dpdk/drivers/net/qede/base
Rasesh Mody 7105b24f4b net/qede: fix memory alloc for multiple port reconfig
Multiple port reconfigurations can lead to memory allocation failures
due to hitting RTE memzone limit or no more room in config while
reserving memzone.

When freeing memzones, update the memzone mapping and the memzone count.
Release Rx and Tx queue rings allocated during queue setup.

Fixes: a39001d90d ("net/qede: fix DMA memory leak")
Cc: stable@dpdk.org

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
Reviewed-by: Kevin Traynor <ktraynor@redhat.com>
2018-06-14 19:27:50 +02:00
..
bcm_osal.c net/qede: fix memory alloc for multiple port reconfig 2018-06-14 19:27:50 +02:00
bcm_osal.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
common_hsi.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_attn_values.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_chain.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_cxt_api.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_cxt.c net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_cxt.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_dcbx_api.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_dcbx.c net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_dcbx.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_dev_api.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_dev.c net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_gtt_reg_addr.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_gtt_values.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_hsi_common.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_hsi_debug_tools.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_hsi_eth.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_hsi_init_func.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_hsi_init_tool.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_hw_defs.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_hw.c net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_hw.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_init_fw_funcs.c net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_init_fw_funcs.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_init_ops.c net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_init_ops.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_int_api.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_int.c net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_int.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_iov_api.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_iro_values.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_iro.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_l2_api.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_l2.c net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_l2.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_mcp_api.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_mcp.c net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_mcp.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_mng_tlv.c net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_proto_if.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_rt_defs.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_sp_api.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_sp_commands.c net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_sp_commands.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_spq.c net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_spq.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_sriov.c net/qede: fix VF MTU update 2018-06-14 19:27:50 +02:00
ecore_sriov.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_status.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_utils.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_vf_api.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
ecore_vf.c net/qede: fix VF MTU update 2018-06-14 19:27:50 +02:00
ecore_vf.h net/qede: fix VF MTU update 2018-06-14 19:27:50 +02:00
ecore_vfpf_if.h net/qede: fix VF MTU update 2018-06-14 19:27:50 +02:00
ecore.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
eth_common.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
mcp_public.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
nvm_cfg.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00
reg_addr.h net/qede: change copyright info to Cavium 2018-05-25 12:32:00 +02:00