pdump: revert PCI device name conversion
authorReshma Pattan <reshma.pattan@intel.com>
Tue, 25 Oct 2016 16:31:38 +0000 (17:31 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 26 Oct 2016 19:54:38 +0000 (21:54 +0200)
commitbb900072ffaa0d45f3cbed5ec4cb1ed0e2e6ecc7
tree09014715f2a2c11095210c4a817d428226d63f09
parentbc2a9cdfe1bf43a4f1e3ac8a8e52d7f3097d455d
pdump: revert PCI device name conversion

Earlier ethdev library created the device names in the
"bus:device.func" format hence pdump library implemented
its own conversion method for changing the user passed
device name format "domain:bus:device.func" to "bus:device.func"
for finding the port id using device name using ethdev library
calls. Now after ethdev and eal rework
http://dpdk.org/dev/patchwork/patch/15855/,
the device names are created in the format "domain:bus:device.func",
so pdump library conversion is not needed any more, hence removed
the corresponding code.

Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
lib/librte_pdump/rte_pdump.c