]> git.droids-corp.org - dpdk.git/commitdiff
net/qede: add 100G link speed capability
authorHarish Patil <harish.patil@qlogic.com>
Wed, 19 Oct 2016 04:11:32 +0000 (21:11 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 26 Oct 2016 17:42:22 +0000 (19:42 +0200)
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@qlogic.com>
drivers/net/qede/qede_ethdev.c

index ec5e8a2a74c71fce300644ef151a08d46480dbf2..5da540aa4b609ddb7291aae61b5df7a2a254246d 100644 (file)
@@ -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 */