Re: [dpdk-dev] [PATCH v3] net/failsafe: fix PCI devices init

2017-10-23 Thread Ferruh Yigit
On 10/19/2017 2:15 PM, Raslan Darawsheh wrote: > When trying to attach a port as a sub-device, the ethdev port > was compared with devargs. > In the case of a PCI device, the name in devargs is the PCI address. > And since DPDK 17.08, the devargs name of the underlying device was > used to match an

[dpdk-dev] [PATCH v3] net/failsafe: fix PCI devices init

2017-10-19 Thread Raslan Darawsheh
When trying to attach a port as a sub-device, the ethdev port was compared with devargs. In the case of a PCI device, the name in devargs is the PCI address. And since DPDK 17.08, the devargs name of the underlying device was used to match an ethdev port: a1e7c17555e8 ("ethdev: use device n