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

2018-10-17 Thread Thomas Monjalon
+Cc Bernard 18/10/2018 03:35, Thomas Monjalon: > The command "port detach" is removing the EAL rte_device > of the ethdev port specified as parameter. > > After detaching, the pointer, which maps a port to its device, > is resetted. This way, it is possible to check whether a port > is still asso

[dpdk-dev] [PATCH v5 7/7] app/testpmd: check not detaching device twice

2018-10-17 Thread Thomas Monjalon
The command "port detach" is removing the EAL rte_device of the ethdev port specified as parameter. After detaching, the pointer, which maps a port to its device, is resetted. This way, it is possible to check whether a port is still associated to a (not removed) device. Signed-off-by: Thomas Mon