Re: [dpdk-dev] [PATCH 1/5] app/testpmd: check not detaching device twice

2018-10-24 Thread Iremonger, Bernard
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Wednesday, October 24, 2018 2:41 PM > To: Iremonger, Bernard ; Wu, Jingjing > ; Lu, Wenzhuo > Cc: dev@dpdk.org; ophi...@mellanox.com; wis...@mellanox.com; Yigit, > Ferruh ; arybche...@solarflare.com > Subject

[dpdk-dev] [PATCH 1/5] app/testpmd: check not detaching device twice

2018-10-24 Thread Thomas Monjalon
The command "port detach" is removing the EAL rte_device of the ethdev port specified as parameter. The function name and some comments are updated to make clear that we are detaching the whole device. After detaching, the pointer, which maps a port to its device, is reset. This way, it is possibl