app/testpmd: rename function for detaching by devargs
authorThomas Monjalon <thomas@monjalon.net>
Thu, 13 Feb 2020 15:52:25 +0000 (16:52 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 14 Feb 2020 11:42:13 +0000 (12:42 +0100)
commit5edee5f6da59ac2291a7060463a5b9bfb85abd9f
tree2735b922203d564db6254b9ca9c8423ad5efa293
parentc8743d5f150107e11201fd56a8e89477a60336d1
app/testpmd: rename function for detaching by devargs

There is a function detach_port_device() which takes a port_id,
and a function detach_device() which takes a devargs string.
In order to add a third function accepting a rte_device pointer,
the function detach_device() is renamed into detach_devargs().

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h