Re: [dpdk-dev] [PATCH v2] net/ixgbe: fix mac resourece leak

2021-09-01 Thread Qiming Chen
Ask a question: how to submit an issue while keeping the exchange log. | | Qiming Chen | | chenqiming_hua...@163.com | 签名由网易邮箱大师定制 On 9/1/2021 14:25,Wang, Haiyue wrote: -Original Message- From: Qiming Chen Sent: Tuesday, August 31, 2021 22:22 To: dev@dpdk.org Cc: Wang, Haiyue ; Qiming Ch

Re: [dpdk-dev] [PATCH v2] net/ixgbe: fix mac resourece leak

2021-08-31 Thread Wang, Haiyue
> -Original Message- > From: Qiming Chen > Sent: Tuesday, August 31, 2021 22:22 > To: dev@dpdk.org > Cc: Wang, Haiyue ; Qiming Chen > ; sta...@dpdk.org > Subject: [PATCH v2] net/ixgbe: fix mac resourece leak > > In the eth_ixgbevf_dev_init and eth_ixgbe_dev_init functions, memory is > al

[dpdk-dev] [PATCH v2] net/ixgbe: fix mac resourece leak

2021-08-31 Thread Qiming Chen
In the eth_ixgbevf_dev_init and eth_ixgbe_dev_init functions, memory is allocated for the MAC address, and the address is stored in the eth_dev->data->mac_addrs member variable. If the subsequent function is abnormal, you need to use the rte_free function to release the MAC address memory. Fixes: