From: Wei Zhao Date: Tue, 30 Jun 2020 01:16:51 +0000 (+0800) Subject: net/ixgbe: report 10Mbps link speed for x553 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b23c52a451958a6140fc86fa72f51f5a8f4584da;p=dpdk.git net/ixgbe: report 10Mbps link speed for x553 For ixgbe x553(IXGBE_DEV_ID_X550EM_A_1G_T) it support 10M link speed, so add the support link speed info for 10Mb/s. Fixes: af75078fece3 ("first public release") Cc: stable@dpdk.org Signed-off-by: Wei Zhao Acked-by: Jeff Guo --- diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 248f21d143..095f1bde57 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -4307,6 +4307,10 @@ ixgbe_dev_link_update_share(struct rte_eth_dev *dev, link.link_speed = ETH_SPEED_NUM_100M; break; + case IXGBE_LINK_SPEED_10_FULL: + link.link_speed = ETH_SPEED_NUM_10M; + break; + case IXGBE_LINK_SPEED_100_FULL: link.link_speed = ETH_SPEED_NUM_100M; break;