From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2430743C94; Tue, 12 Mar 2024 19:07:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8081642DEA; Tue, 12 Mar 2024 19:07:35 +0100 (CET) Received: from smtp-fw-2101.amazon.com (smtp-fw-2101.amazon.com [72.21.196.25]) by mails.dpdk.org (Postfix) with ESMTP id BCFAB42DDF for ; Tue, 12 Mar 2024 19:07:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1710266854; x=1741802854; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=BOmRK8UcwIvmjS69kjh/4s0l51THaz0Y5/Awy+ac56U=; b=TYS0If5RHBekqwLCzSWuUAKifELKKD+xFU20bnAEiCvkCi1Y/u0IAING fiQpZ7QGXE3kTUC/h0iWWUAYefnfExF3Q527/oi8q6DQJxmmwoyY06Coa gisdAri3cXh2xfpWvqXxQ1y0kT6TJMsUYp/TJ5VoHuTIVgZK5U2A08ygy A=; X-IronPort-AV: E=Sophos;i="6.07,119,1708387200"; d="scan'208";a="387284501" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO smtpout.prod.us-west-2.prod.farcaster.email.amazon.dev) ([10.43.8.6]) by smtp-border-fw-2101.iad2.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2024 18:07:31 +0000 Received: from EX19MTAEUB002.ant.amazon.com [10.0.43.254:55204] by smtpin.naws.eu-west-1.prod.farcaster.email.amazon.dev [10.0.13.227:2525] with esmtp (Farcaster) id 7315281c-54af-43a0-9bc2-0e615f3905b8; Tue, 12 Mar 2024 18:07:29 +0000 (UTC) X-Farcaster-Flow-ID: 7315281c-54af-43a0-9bc2-0e615f3905b8 Received: from EX19D007EUB002.ant.amazon.com (10.252.51.117) by EX19MTAEUB002.ant.amazon.com (10.252.51.79) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Tue, 12 Mar 2024 18:07:29 +0000 Received: from EX19MTAUWA001.ant.amazon.com (10.250.64.204) by EX19D007EUB002.ant.amazon.com (10.252.51.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Tue, 12 Mar 2024 18:07:29 +0000 Received: from HFA15-CG15235BS.amazon.com (10.85.143.174) by mail-relay.amazon.com (10.250.64.204) with Microsoft SMTP Server id 15.2.1258.28 via Frontend Transport; Tue, 12 Mar 2024 18:07:27 +0000 From: To: CC: , Shai Brandes Subject: [PATCH v4 02/31] net/ena: report new supported link speed capabilities Date: Tue, 12 Mar 2024 20:06:47 +0200 Message-ID: <20240312180716.8515-3-shaibran@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240312180716.8515-1-shaibran@amazon.com> References: <20240312180716.8515-1-shaibran@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Shai Brandes Updated the rte_eth_dev_info device supported speed bitmap to include 200Gbps and 400Gbps capabilities. Signed-off-by: Shai Brandes Reviewed-by: Amit Bernstein --- 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