From: Harish Patil <harish.pa...@qlogic.com> 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 <harish.patil at qlogic.com> --- doc/guides/nics/features/qede.ini | 1 + doc/guides/nics/features/qede_vf.ini | 1 + drivers/net/qede/qede_ethdev.c | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/features/qede.ini b/doc/guides/nics/features/qede.ini index 7690773..1d28a23 100644 --- a/doc/guides/nics/features/qede.ini +++ b/doc/guides/nics/features/qede.ini @@ -4,6 +4,7 @@ ; Refer to default.ini for the full list of available PMD features. ; [Features] +Speed capabilities = Y Link status = Y Link status event = Y MTU update = Y diff --git a/doc/guides/nics/features/qede_vf.ini b/doc/guides/nics/features/qede_vf.ini index aeb20d2..b4eba0c 100644 --- a/doc/guides/nics/features/qede_vf.ini +++ b/doc/guides/nics/features/qede_vf.ini @@ -4,6 +4,7 @@ ; Refer to default.ini for the full list of available PMD features. ; [Features] +Speed capabilities = Y Link status = Y Link status event = Y MTU update = Y diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c index ec5e8a2..5da540a 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 */ -- 1.8.3.1