From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 03E0DA0350; Tue, 30 Jun 2020 03:41:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A00D21BEE6; Tue, 30 Jun 2020 03:41:49 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id F205F1BEA9; Tue, 30 Jun 2020 03:41:47 +0200 (CEST) IronPort-SDR: L7cBKM+l2Zaqd3Igd+Ingq9rbHAJdkfkAUZ585q6cRgWdk3pmUAIBTUmOMFd0prvRVDGhKUCam xS9dlilddRJg== X-IronPort-AV: E=McAfee;i="6000,8403,9666"; a="145190219" X-IronPort-AV: E=Sophos;i="5.75,296,1589266800"; d="scan'208";a="145190219" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jun 2020 18:41:46 -0700 IronPort-SDR: AaktSkoUTsS2eF6gn0QaqrGaSUup32I1iRm+3AieR/9koasFE7Hs/Loy3uhKuQEtjccvE6c2lD QxXEV+e5x1Eg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,296,1589266800"; d="scan'208";a="480991376" Received: from unknown (HELO localhost.localdomain.bj.intel.com) ([172.16.182.123]) by fmsmga005.fm.intel.com with ESMTP; 29 Jun 2020 18:41:45 -0700 From: Wei Zhao To: dev@dpdk.org Cc: stable@dpdk.org, qi.z.zhang@intel.com, jia.guo@intel.com, Wei Zhao Date: Tue, 30 Jun 2020 09:16:51 +0800 Message-Id: <20200630011651.57641-1-wei.zhao1@intel.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20200628061255.68963-1-wei.zhao1@intel.com> References: <20200628061255.68963-1-wei.zhao1@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2] net/ixgbe: add the support link speed info for x553 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" For ixgbe x553(IXGBE_DEV_ID_X550EM_A_1G_T) it support 10M link speed, so add the support link speed info for 10Mb/s. Fixes: af75078fece3 ("first public release") Cc: stable@dpdk.org Signed-off-by: Wei Zhao Acked-by: Jeff Guo --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index f8a84c565..d812579fe 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -4320,6 +4320,10 @@ ixgbe_dev_link_update_share(struct rte_eth_dev *dev, link.link_speed = ETH_SPEED_NUM_100M; break; + case IXGBE_LINK_SPEED_10_FULL: + link.link_speed = ETH_SPEED_NUM_10M; + break; + case IXGBE_LINK_SPEED_100_FULL: link.link_speed = ETH_SPEED_NUM_100M; break; -- 2.19.1