Re: [dpdk-dev] [PATCH] ethdev: revert use device name from device structure

2017-10-11 Thread Ferruh Yigit
On 10/11/2017 10:56 PM, Thomas Monjalon wrote: > 22/09/2017 16:57, Adrien Mazarguil: >> On Fri, Sep 22, 2017 at 12:30:07PM +0100, Ferruh Yigit wrote: >>> This reverts commit a1e7c17555e8f77d520ba5f06ed26c00e77a2bd1. >>> >>> Original commit assumes there is 1:1 mapping between physical device and >>

Re: [dpdk-dev] [PATCH] ethdev: revert use device name from device structure

2017-10-11 Thread Thomas Monjalon
22/09/2017 16:57, Adrien Mazarguil: > On Fri, Sep 22, 2017 at 12:30:07PM +0100, Ferruh Yigit wrote: > > This reverts commit a1e7c17555e8f77d520ba5f06ed26c00e77a2bd1. > > > > Original commit assumes there is 1:1 mapping between physical device and > > ethdev port, so that device name can be used pe

Re: [dpdk-dev] [PATCH] ethdev: revert use device name from device structure

2017-09-22 Thread Adrien Mazarguil
On Fri, Sep 22, 2017 at 12:30:07PM +0100, Ferruh Yigit wrote: > This reverts commit a1e7c17555e8f77d520ba5f06ed26c00e77a2bd1. > > 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. > > Bu

[dpdk-dev] [PATCH] ethdev: revert use device name from device structure

2017-09-22 Thread Ferruh Yigit
This reverts commit a1e7c17555e8f77d520ba5f06ed26c00e77a2bd1. 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