numam-dpdk/lib/librte_ether
Ferruh Yigit 72e3efb149 ethdev: revert use port name from device structure
This reverts commit a1e7c17555.

Original commit assumes there is 1:1 mapping between physical device and
ethdev port, so that device name can be used per port instead of ethdev
name field.

But one physical device may have multiple ethdev ports and each port
needs its own unique name.

One issue reported here:
http://dpdk.org/ml/archives/users/2017-September/002484.html

So reverting back the commit to continue using ethdev name field per
port.

Fixes: a1e7c17555 ("ethdev: use device name from device structure")
Cc: stable@dpdk.org

Reported-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
2017-10-12 01:52:50 +01:00
..
ethdev_profile.c ethdev: support vtune task tracing 2017-09-22 19:01:32 +02:00
ethdev_profile.h ethdev: support vtune task tracing 2017-09-22 19:01:32 +02:00
Makefile ethdev: increase port id range 2017-10-06 18:23:25 +02:00
rte_dev_info.h lib: add missing include dependencies 2016-09-13 15:35:28 +02:00
rte_eth_ctrl.h ethdev: introduce generic flow API 2016-12-23 10:11:07 +01:00
rte_ethdev_pci.h ethdev: fix doxygen comment for PCI info copy 2017-07-31 23:39:43 +02:00
rte_ethdev_vdev.h ethdev: remove driver name from device private data 2017-06-12 16:27:44 +01:00
rte_ethdev_version.map ethdev: get supported mempool per port 2017-10-06 20:59:56 +02:00
rte_ethdev.c ethdev: revert use port name from device structure 2017-10-12 01:52:50 +01:00
rte_ethdev.h ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
rte_flow_driver.h ethdev: increase port id range 2017-10-06 18:23:25 +02:00
rte_flow.c ethdev: fix port id type in flow API 2017-10-06 18:38:55 +02:00
rte_flow.h ethdev: fix port id type in flow API 2017-10-06 18:38:55 +02:00
rte_tm_driver.h ethdev: increase port id range 2017-10-06 18:23:25 +02:00
rte_tm.c ethdev: increase port id range 2017-10-06 18:23:25 +02:00
rte_tm.h ethdev: increase port id range 2017-10-06 18:23:25 +02:00