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

Jerin Jacob Kollanukkaran jerinj at marvell.com
Mon Aug 5 19:28:51 CEST 2019

> -----Original Message-----
> From: lironh at marvell.com <lironh at marvell.com>
> Sent: Monday, August 5, 2019 3:47 PM
> To: Jerin Jacob Kollanukkaran <jerinj at marvell.com>
> Cc: dev at dpdk.org; Liron Himi <lironh at marvell.com>
> Subject: [PATCH] net/mvpp2: remove resources when port is closed
> From: Liron Himi <lironh at marvell.com>
> Since 18.11, it is suggested that driver should release all its private resources
> at the dev_close routine. So all resources previously released in remove
> routine are now released at the dev_close routine, and the dev_close
> routine will be called in driver remove routine in order to support removing a
> device without closing its ports.
> Above behavior changes are supported by setting
> RTE_ETH_DEV_CLOSE_REMOVE flag during probe stage.
> Signed-off-by: Liron Himi <lironh at marvell.com>
> Reviewed-by: Yuri Chipchev <yuric at marvell.com>

Applied to dpdk-next-net-mrvl/master. Thanks

More information about the dev mailing list