[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAG88wWY-4-8FR_AH3rQb8o+PiO_wONBT1C3V8b68i5R-ACbuDw@mail.gmail.com>
Date: Thu, 23 Jun 2016 09:51:24 -0700
From: David Decotigny <decot@...glers.com>
To: Saeed Mahameed <saeedm@...lanox.com>
Cc: "David S. Miller" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Or Gerlitz <ogerlitz@...lanox.com>,
Gal Pressman <galp@...lanox.com>,
Ben Hutchings <bwh@...nel.org>
Subject: Re: [PATCH net-next V2 07/10] ethtool: Add 50G baseSR2 link mode
On Thu, Jun 23, 2016 at 7:02 AM, Saeed Mahameed <saeedm@...lanox.com> wrote:
> From: Gal Pressman <galp@...lanox.com>
>
> Add ETHTOOL_LINK_MODE_50000baseSR2_Full_BIT bit.
>
> Signed-off-by: Gal Pressman <galp@...lanox.com>
> Signed-off-by: Saeed Mahameed <saeedm@...lanox.com>
> Cc: Ben Hutchings <bwh@...nel.org>
> Cc: David Decotigny <decot@...glers.com>
> ---
> include/uapi/linux/ethtool.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h
> index 5f030b4..b8f38e8 100644
> --- a/include/uapi/linux/ethtool.h
> +++ b/include/uapi/linux/ethtool.h
> @@ -1362,6 +1362,7 @@ enum ethtool_link_mode_bit_indices {
> ETHTOOL_LINK_MODE_100000baseSR4_Full_BIT = 37,
> ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT = 38,
> ETHTOOL_LINK_MODE_100000baseLR4_ER4_Full_BIT = 39,
> + ETHTOOL_LINK_MODE_50000baseSR2_Full_BIT = 40,
>
> /* Last allowed bit for __ETHTOOL_LINK_MODE_LEGACY_MASK is bit
> * 31. Please do NOT define any SUPPORTED_* or ADVERTISED_*
> @@ -1370,7 +1371,7 @@ enum ethtool_link_mode_bit_indices {
> */
>
> __ETHTOOL_LINK_MODE_LAST
> - = ETHTOOL_LINK_MODE_100000baseLR4_ER4_Full_BIT,
> + = ETHTOOL_LINK_MODE_50000baseSR2_Full_BIT,
> };
>
> #define __ETHTOOL_LINK_MODE_LEGACY_MASK(base_name) \
> --
> 2.8.0
>
Acked-By: David Decotigny <decot@...glers.com>
Powered by blists - more mailing lists