[dpdk-dev] [PATCH] drivers/net: document missing speed capabilities feature

Alejandro Lucero alejandro.lucero at netronome.com
Tue May 16 12:17:11 CEST 2017


On Tue, May 16, 2017 at 11:02 AM, Thomas Monjalon <thomas at monjalon.net>
wrote:

> 16/05/2017 11:39, Alejandro Lucero:
> > Maybe we need another feature for detected link speed report capability.
> >
> > There is already support for ETH_SPEED_NUM_NONE if the speed is not
> defined
> > or it can not be specified by the device. Netronome has some firmwares
> > without that link speed report capability, although maybe we are not the
> > only ones with that problem.
> >
> >
> > What do you think about this?
>
> Yes, you mean you can advertise a speed capability,
> but cannot report the real negotiated speed, right?
> So we could add this feature.
>

Perfect.


> There are also virtual drivers which cannot report some real speed.
>
>
Yes, that is right. Virtual drivers can not report speed.

We have a problem with a client using pktgen which assumes a device will
report the link speed always. By the way, I will send a patch for avoiding
this issue with pktgen.

Thanks


More information about the dev mailing list