From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 8DCC02C6B for ; Tue, 19 Apr 2016 14:41:40 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 19 Apr 2016 05:41:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,506,1455004800"; d="scan'208";a="688721420" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.220.132]) by FMSMGA003.fm.intel.com with SMTP; 19 Apr 2016 05:41:37 -0700 Received: by (sSMTP sendmail emulation); Tue, 19 Apr 2016 13:41:36 +0025 Date: Tue, 19 Apr 2016 13:41:36 +0100 From: Bruce Richardson To: Stephen Hurd Cc: dev@dpdk.org, Thomas Monjalon Message-ID: <20160419124136.GA15456@bricha3-MOBL3> References: <1456978137-98097-1-git-send-email-stephen.hurd@broadcom.com> <1457125528-128877-2-git-send-email-stephen.hurd@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1457125528-128877-2-git-send-email-stephen.hurd@broadcom.com> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v3 1/7] lib/librte_ether: Add 2/2.5/25/50Gbps link speeds X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2016 12:41:41 -0000 On Fri, Mar 04, 2016 at 01:05:22PM -0800, Stephen Hurd wrote: > Add additional ETH_LINK_SPEED_* macros for 2, 2.5, 25, and 50 Gbps links > > Signed-off-by: Stephen Hurd > --- > lib/librte_ether/rte_ethdev.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h > index 16da821..cb40bbb 100644 > --- a/lib/librte_ether/rte_ethdev.h > +++ b/lib/librte_ether/rte_ethdev.h > @@ -254,10 +254,14 @@ struct rte_eth_link { > #define ETH_LINK_SPEED_10 10 /**< 10 megabits/second. */ > #define ETH_LINK_SPEED_100 100 /**< 100 megabits/second. */ > #define ETH_LINK_SPEED_1000 1000 /**< 1 gigabits/second. */ > +#define ETH_LINK_SPEED_2000 2000 /**< 2 gigabits/second. */ > +#define ETH_LINK_SPEED_2500 2500 /**< 2.5 gigabits/second. */ > #define ETH_LINK_SPEED_10000 10000 /**< 10 gigabits/second. */ > #define ETH_LINK_SPEED_10G 10000 /**< alias of 10 gigabits/second. */ > #define ETH_LINK_SPEED_20G 20000 /**< 20 gigabits/second. */ > +#define ETH_LINK_SPEED_25G 25000 /**< 25 gigabits/second. */ > #define ETH_LINK_SPEED_40G 40000 /**< 40 gigabits/second. */ > +#define ETH_LINK_SPEED_50G 50000 /**< 50 gigabits/second. */ > > #define ETH_LINK_AUTONEG_DUPLEX 0 /**< Auto-negotiate duplex. */ > #define ETH_LINK_HALF_DUPLEX 1 /**< Half-duplex connection. */ > -- Hi Stephen, there were some link speed changes in Rel 16.04, so this patch needs an update to apply. Hopefully most of the changes in it are no longer needed following the rework. Regards, /Bruce