[dpdk-dev] [PATCH] net/i40e: fix mbuf leak

2021-08-22 Thread chenqiming_huawei
From: Qiming Chen A local test found that repeated port start and stop operations during the continuous SSE vector bufflist receiving process will cause the mbuf resource to run out. The final positioning is when the port is stopped, the mbuf of the pkt_first_seg pointer is not released. Resource

[dpdk-dev] [PATCH] net/i40e: fix dev startup resource release problem

2021-08-21 Thread chenqiming_huawei
From: Qiming Chen In the eth_i40e_dev_init function, the tunnel and ehtertype hash table resource release interface should be rte_hash_free instead of rte_free, and the previously registered interrupt handling function also needs to be removed from the interrupt list. The patch is amended to use

[dpdk-dev] [PATCH] net/i40e: fix dev startup resource release problem

2021-08-21 Thread chenqiming_huawei
From: Qiming Chen In the eth_i40e_dev_init function, the tunnel and ehtertype hash table resource release interface should be rte_hash_free instead of rte_free, and the previously registered interrupt handling function also needs to be removed from the interrupt list. The patch is amended to use

[dpdk-dev] [PATCH] net/i40e: fix vf resource leakage problem

2021-08-21 Thread chenqiming_huawei
From: Qiming Chen In the i40evf_dev_init function, when the MAC memory alloc fails, the previously initialized vf resource is not released, resulting in leakage. The patch calls the i40evf_uninit_vf function in the abnormal branch to release resources. Fixes: 5c9222058df7 ("i40e: move to drivers

[dpdk-dev] [PATCH] net/i40e: fix mbuf resource leakage problem

2021-08-21 Thread chenqiming_huawei
From: Qiming Chen In the i40evf_dev_rx_queue_start function, when the function i40evf_switch_queue returns failed, the previously requested mbuf resource is not released. Fixes: 74b7496b0cb3 ("net/i40e: remove redundant queue id checks") Cc: sta...@dpdk.org Signed-off-by: Qiming Chen --- driv

[dpdk-dev] [PATCH] net/i40e/base: fix the resource leakage problem

2021-08-20 Thread chenqiming_huawei
From: Qiming Chen In the i40e_init_arq function, when the i40e_config_arq_regs function returns from processing failure, the previously applied arq_bufs resource is not released, which leads to leakage. The patch is processed in the same way as the i40e_init_asq function, maintaining a unified co