From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omzsmtpe02.verizonbusiness.com ([199.249.25.209]:9918 "EHLO omzsmtpe02.verizonbusiness.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751241AbdFDINP (ORCPT ); Sun, 4 Jun 2017 04:13:15 -0400 From: "Levin, Alexander (Sasha Levin)" Cc: Pavel Belous , "David S . Miller" , "Levin, Alexander (Sasha Levin)" To: "stable@vger.kernel.org" Subject: [PATCH for v4.9 LTS 049/111] net: ethtool: add support for 2500BaseT and 5000BaseT link modes Date: Sun, 4 Jun 2017 08:12:19 +0000 Message-ID: <20170604081123.19462-49-alexander.levin@verizon.com> References: <20170604081123.19462-1-alexander.levin@verizon.com> In-Reply-To: <20170604081123.19462-1-alexander.levin@verizon.com> Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org List-ID: From: Pavel Belous [ Upstream commit 94842b4fc4d6b1691cfc86c6f5251f299d27f4ba ] This patch introduce support for 2500BaseT and 5000BaseT link modes. These modes are included in the new IEEE 802.3bz standard. Signed-off-by: Pavel Belous Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- include/uapi/linux/ethtool.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h index 8e547231c1b7..5c22e8cab24b 100644 --- a/include/uapi/linux/ethtool.h +++ b/include/uapi/linux/ethtool.h @@ -1368,6 +1368,8 @@ enum ethtool_link_mode_bit_indices { ETHTOOL_LINK_MODE_10000baseLR_Full_BIT =3D 44, ETHTOOL_LINK_MODE_10000baseLRM_Full_BIT =3D 45, ETHTOOL_LINK_MODE_10000baseER_Full_BIT =3D 46, + ETHTOOL_LINK_MODE_2500baseT_Full_BIT =3D 47, + ETHTOOL_LINK_MODE_5000baseT_Full_BIT =3D 48, =20 =20 /* Last allowed bit for __ETHTOOL_LINK_MODE_LEGACY_MASK is bit @@ -1377,7 +1379,7 @@ enum ethtool_link_mode_bit_indices { */ =20 __ETHTOOL_LINK_MODE_LAST - =3D ETHTOOL_LINK_MODE_10000baseER_Full_BIT, + =3D ETHTOOL_LINK_MODE_5000baseT_Full_BIT, }; =20 #define __ETHTOOL_LINK_MODE_LEGACY_MASK(base_name) \ --=20 2.11.0