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

Jerin Jacob Kollanukkaran jerinj at marvell.com
Sun Jul 7 12:25:38 CEST 2019


> -----Original Message-----
> From: lironh at marvell.com <lironh at marvell.com>
> Sent: Wednesday, July 3, 2019 1:28 PM
> To: Jerin Jacob Kollanukkaran <jerinj at marvell.com>
> Cc: dev at dpdk.org; Liron Himi <lironh at marvell.com>; Yuri Chipchev
> <yuric at marvell.com>
> Subject: [PATCH] net/mvneta: remove resources when port is closed
> 
> From: yuric <yuric 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: yuric <yuric at marvell.com>
> Reviewed-by: Liron Himi <lironh at marvell.com>

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


More information about the dev mailing list