[dpdk-dev] [PATCH v1 1/6] ethdev: allow unknown link speed
Andrew Rybchenko
arybchenko at solarflare.com
Fri May 1 15:10:56 CEST 2020
On 4/27/20 12:57 PM, Ivan Dyukov wrote:
> From: Thomas Monjalon <thomas at monjalon.net>
>
> When querying the link informations, the link status is
> a mandatory major information.
> Other boolean values are supposed to be accurate:
> - duplex mode (half/full)
> - negotiation (auto/fixed)
>
> This API update is making explicit that the link speed information
> is optional.
> The value ETH_SPEED_NUM_NONE (0) was already part of the API.
> The value ETH_SPEED_NUM_UNKNOWN (infinite) is added to cover
> two different cases:
> - speed is not known by the driver
> - device is virtual
>
> Suggested-by: Morten Brørup <mb at smartsharesystems.com>
> Suggested-by: Benoit Ganne <bganne at cisco.com>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>
More information about the dev
mailing list