From: Shai Brandes <shaib...@amazon.com>

Updated the rte_eth_dev_info device supported speed
bitmap to include 200Gbps and 400Gbps capabilities.

Signed-off-by: Shai Brandes <shaib...@amazon.com>
Reviewed-by: Amit Bernstein <amitb...@amazon.com>
---
 drivers/net/ena/ena_ethdev.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c
index 6d500bfa78..b1e7de0541 100644
--- a/drivers/net/ena/ena_ethdev.c
+++ b/drivers/net/ena/ena_ethdev.c
@@ -2542,7 +2542,9 @@ static int ena_infos_get(struct rte_eth_dev *dev,
                        RTE_ETH_LINK_SPEED_25G  |
                        RTE_ETH_LINK_SPEED_40G  |
                        RTE_ETH_LINK_SPEED_50G  |
-                       RTE_ETH_LINK_SPEED_100G;
+                       RTE_ETH_LINK_SPEED_100G |
+                       RTE_ETH_LINK_SPEED_200G |
+                       RTE_ETH_LINK_SPEED_400G;
 
        /* Inform framework about available features */
        dev_info->rx_offload_capa = ena_get_rx_port_offloads(adapter);
-- 
2.17.1

Reply via email to