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

Thomas Monjalon thomas at monjalon.net
Wed Oct 11 23:56:54 CEST 2017


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 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.
> > 
> > Reported-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>
> > Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> 
> Acked-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>

Acked-by: Thomas Monjalon <thomas at monjalon.net>

I agree we must keep separate the device name and the ethdev port name.

About the OVS issue (Cc'ing people), it would be valuable to work
in DPDK to establish a reliable syntax to describe a device
or a port. This is what we call devargs ; it is still a work in progress.



More information about the dev mailing list