From 95e67b479506dfc361d3d45af38acd4126c3a8d3 Mon Sep 17 00:00:00 2001 From: Harish Patil Date: Tue, 18 Oct 2016 21:11:32 -0700 Subject: [PATCH] net/qede: add 100G link speed capability This patch fixes the missing 100G link speed advertisement when the 100G support was initially added. Fixes: 2af14ca79c0a ("net/qede: support 100G") Signed-off-by: Harish Patil --- drivers/net/qede/qede_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c index ec5e8a2a74..5da540aa4b 100644 --- a/drivers/net/qede/qede_ethdev.c +++ b/drivers/net/qede/qede_ethdev.c @@ -599,7 +599,8 @@ qede_dev_info_get(struct rte_eth_dev *eth_dev, DEV_TX_OFFLOAD_UDP_CKSUM | DEV_TX_OFFLOAD_TCP_CKSUM); - dev_info->speed_capa = ETH_LINK_SPEED_25G | ETH_LINK_SPEED_40G; + dev_info->speed_capa = ETH_LINK_SPEED_25G | ETH_LINK_SPEED_40G | + ETH_LINK_SPEED_100G; } /* return 0 means link status changed, -1 means not changed */