[dpdk-dev] [PATCH v2] net/nfb: remove resources when port is closed

Ferruh Yigit ferruh.yigit at intel.com
Tue Aug 27 14:08:52 CEST 2019


On 8/12/2019 12:19 PM, Rastislav Cernay wrote:
> From: Rastislav Cernay <cernay at netcope.com>
> 
> The rte_eth_dev_close() function now handles freeing resources for
> devices (e.g., mac_addrs).  To conform with the new close() behaviour we
> are asserting the RTE_ETH_DEV_CLOSE_REMOVE flag so that
> rte_eth_dev_close() releases all device level dynamic memory.
> 
> Signed-off-by: Rastislav Cernay <cernay at netcope.com>
> Acked-by: Jan Remes <remes at netcope.com>
> Reviewed-by: Xiaolong Ye <xiaolong.ye at intel.com>
> ---
> v2: remove unnecessary cast
>  drivers/net/szedata2/rte_eth_szedata2.c | 14 ++++++++++----
>  1 file changed, 10 insertions(+), 4 deletions(-)

Hi Rastislav,

The first version of this patch is for 'nfb' driver [1], ack/review is based on
that path. But this patch, v2, is for 'szedata2' driver. It looks like something
went wrong.

But both driver needs this update, can you please send a proper new version for
'nfb' (v3) and a new 'szedata2' patch?

Thanks,
ferruh


[1]
https://mails.dpdk.org/archives/dev/2019-August/140864.html


More information about the dev mailing list