On Thu, Nov 05, 2026 at 09:47:24AM +0000, Anurag Mandal wrote:
> The representor info array is only freed by ice_dcf_dev_uninit(),
> which runs on device removal.
> Closing the DCF port with rte_eth_dev_close() releases the port
> without freeing it.
>
> Free it in ice_dcf_dev_close().
> ice_dcf_dev_reset() needs the info to survive, as init notifies
> the representors again, so move the rest of close into
> ice_dcf_dev_teardown() and call that from reset instead.
>
> Fixes: c7e1a1a3bfeb ("net/ice: refactor DCF VLAN handling")
> Cc: [email protected]
>
> Signed-off-by: Anurag Mandal <[email protected]>
Acked-by: Bruce Richardson <[email protected]>
- Re: [PATCH 1/8] net/ice: fix DCF hardware init error... Bruce Richardson
- [PATCH 3/8] net/ice: fix DCF queue config buffer leak Anurag Mandal
- Re: [PATCH 3/8] net/ice: fix DCF queue config buffer... Bruce Richardson
- [PATCH 6/8] net/ice: fix DCF TM config leak on close Anurag Mandal
- Re: [PATCH 6/8] net/ice: fix DCF TM config leak on c... Bruce Richardson
- [PATCH 4/8] net/ice: fix DCF QoS buffer leak on commit Anurag Mandal
- Re: [PATCH 4/8] net/ice: fix DCF QoS buffer leak on ... Bruce Richardson
- [PATCH 5/8] net/ice: fix DCF QoS bandwidth replay config ... Anurag Mandal
- Re: [PATCH 5/8] net/ice: fix DCF QoS bandwidth repla... Bruce Richardson
- [PATCH 7/8] net/ice: fix DCF representor info leak on clo... Anurag Mandal
- Re: [PATCH 7/8] net/ice: fix DCF representor info le... Bruce Richardson
- [PATCH v2 0/8] net/ice: fix DCF memory leaks Anurag Mandal
- [PATCH v2 4/8] net/ice: fix DCF QoS buffer leak on c... Anurag Mandal
- [PATCH v2 2/8] net/ice: fix DCF parent adapter init ... Anurag Mandal
- [PATCH v2 3/8] net/ice: fix DCF queue config buffer ... Anurag Mandal
- [PATCH v2 8/8] net/ice: fix DCF port leak on probe f... Anurag Mandal
- [PATCH v2 6/8] net/ice: fix DCF TM config leak on cl... Anurag Mandal
- [PATCH v2 7/8] net/ice: fix DCF representor info lea... Anurag Mandal
- [PATCH v2 5/8] net/ice: fix DCF QoS bandwidth replay... Anurag Mandal
- Re: [PATCH v2 5/8] net/ice: fix DCF QoS bandwidt... Bruce Richardson
- [PATCH v2 1/8] net/ice: fix DCF hardware init error ... Anurag Mandal

