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 30158A0350; Sun, 28 Jun 2020 08:37:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 11EDF1C13A; Sun, 28 Jun 2020 08:37:54 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id C96BC1C036; Sun, 28 Jun 2020 08:37:51 +0200 (CEST) IronPort-SDR: BM1JhN1KDnVPsdMfNqw2y9zLTG+wompAPSNDUypAv6R7qsZzpzSyoL81DNlOxibt88/z3OzYZU ElyZbYLb4Bdg== X-IronPort-AV: E=McAfee;i="6000,8403,9665"; a="143989759" X-IronPort-AV: E=Sophos;i="5.75,290,1589266800"; d="scan'208";a="143989759" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jun 2020 23:37:50 -0700 IronPort-SDR: JkpepW+Hcrs+usaxMyC9kWWDqfaaSIqmccI6pIMKttQvmUGLqWMS+WQIRK2+2cgiHggycWan2K kmP+oes8k+Gw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,290,1589266800"; d="scan'208";a="355161051" Received: from unknown (HELO localhost.localdomain.bj.intel.com) ([172.16.182.123]) by orsmga001.jf.intel.com with ESMTP; 27 Jun 2020 23:37:49 -0700 From: Wei Zhao To: dev@dpdk.org Cc: stable@dpdk.org, qi.z.zhang@intel.com, jia.guo@intel.com, ferruh.yigit@intel.com, Wei Zhao Date: Sun, 28 Jun 2020 14:12:55 +0800 Message-Id: <20200628061255.68963-1-wei.zhao1@intel.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] net/ixgbe: enable 10Mb/s speed 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 enable it for the kind of ixgbe nic. Fixes: af75078fece3 ("first public release") Cc: stable@dpdk.org Signed-off-by: Wei Zhao --- 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