DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] nfp: extend speed capabilities advertised
@ 2016-12-19 12:05 Alejandro Lucero
  2016-12-19 14:36 ` Ferruh Yigit
  0 siblings, 1 reply; 13+ messages in thread
From: Alejandro Lucero @ 2016-12-19 12:05 UTC (permalink / raw)
  To: dev

NFP supports more speeds than just 40 and 100GB, which were
what was advertised before.

Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
---
 drivers/net/nfp/nfp_net.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c
index 27afbfd..77015c4 100644
--- a/drivers/net/nfp/nfp_net.c
+++ b/drivers/net/nfp/nfp_net.c
@@ -1077,7 +1077,9 @@ static void nfp_net_read_mac(struct nfp_net_hw *hw)
 	dev_info->reta_size = NFP_NET_CFG_RSS_ITBL_SZ;
 	dev_info->hash_key_size = NFP_NET_CFG_RSS_KEY_SZ;
 
-	dev_info->speed_capa = ETH_LINK_SPEED_40G | ETH_LINK_SPEED_100G;
+	dev_info->speed_capa = ETH_SPEED_NUM_1G | ETH_LINK_SPEED_10G |
+			       ETH_SPEED_NUM_25G | ETH_SPEED_NUM_40G |
+			       ETH_SPEED_NUM_50G | ETH_LINK_SPEED_100G;
 }
 
 static const uint32_t *
-- 
1.9.1

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-12-20 11:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-19 12:05 [dpdk-dev] [PATCH] nfp: extend speed capabilities advertised Alejandro Lucero
2016-12-19 14:36 ` Ferruh Yigit
2016-12-19 15:02   ` Alejandro Lucero
2016-12-19 15:05     ` Ferruh Yigit
2016-12-19 16:18       ` Alejandro Lucero
2016-12-19 16:35         ` Marc
2016-12-19 17:58           ` Alejandro Lucero
2016-12-19 16:43         ` Ferruh Yigit
2016-12-19 17:59           ` Alejandro Lucero
2016-12-19 18:00             ` Alejandro Lucero
2016-12-20 10:25               ` Ferruh Yigit
2016-12-20 10:29                 ` Alejandro Lucero
2016-12-20 11:02                   ` Alejandro Lucero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).