d3778bf39a
Normally when closing the device the queue memzone should be
freed. But the memzone will be not freed, when device setup
ops like:
rte_eth_bond_slave_remove
-->__eth_bond_slave_remove_lock_free
---->slave_remove
------>rte_eth_dev_internal_reset
-------->rte_eth_dev_rx_queue_config
---------->eth_dev_rx_queue_config
------------>ice_rx_queue_release
rte_eth_dev_close
-->ice_dev_close
---->ice_free_queues
------>ice_rx_queue_release
(not been called due to nb_rx_queues and nb_tx_queues are 0)
And when queue number is changed to small size, the BIG memzone
queue index will be lost. This will lead to a memory leak. So we
should release the memzone when releasing queues.
Fixes:
|
||
---|---|---|
.. | ||
base | ||
ice_acl_filter.c | ||
ice_dcf_ethdev.c | ||
ice_dcf_ethdev.h | ||
ice_dcf_parent.c | ||
ice_dcf_sched.c | ||
ice_dcf_vf_representor.c | ||
ice_dcf.c | ||
ice_dcf.h | ||
ice_ethdev.c | ||
ice_ethdev.h | ||
ice_fdir_filter.c | ||
ice_generic_flow.c | ||
ice_generic_flow.h | ||
ice_hash.c | ||
ice_logs.h | ||
ice_rxtx_vec_avx2.c | ||
ice_rxtx_vec_avx512.c | ||
ice_rxtx_vec_common.h | ||
ice_rxtx_vec_sse.c | ||
ice_rxtx.c | ||
ice_rxtx.h | ||
ice_switch_filter.c | ||
meson.build | ||
rte_pmd_ice.h | ||
version.map |