> -----Original Message----- > From: Thomas Monjalon [mailto:[email protected]] > Sent: Wednesday, October 24, 2018 2:41 PM > To: Iremonger, Bernard <[email protected]>; Wu, Jingjing > <[email protected]>; Lu, Wenzhuo <[email protected]> > Cc: [email protected]; [email protected]; [email protected]; Yigit, > Ferruh <[email protected]>; [email protected] > Subject: [PATCH 1/5] app/testpmd: check not detaching device twice > > 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 possible to check whether a port is still associated to a (not removed) > device. > > Signed-off-by: Thomas Monjalon <[email protected]>
Acked-by: Bernard Iremonger <[email protected]>

