From: Rick Jones <rick.jones2@hp•com>
To: Parav Pandit <parav.pandit@emulex•com>
Cc: netdev@vger•kernel.org, bhutchings@solarflare•com
Subject: Re: [PATCH] net: added support for 40GbE link.
Date: Mon, 18 Jun 2012 09:27:39 -0700 [thread overview]
Message-ID: <4FDF56FB.9080509@hp.com> (raw)
In-Reply-To: <0c7c97b0-bfe1-4143-a562-2019f86912fc@exht1.ad.emulex.com>
On 06/18/2012 05:44 AM, Parav Pandit wrote:
> diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h
> index 297370a..1ebfa6e 100644
> --- a/include/linux/ethtool.h
> +++ b/include/linux/ethtool.h
> @@ -1153,6 +1153,10 @@ struct ethtool_ops {
> #define SUPPORTED_10000baseR_FEC (1<< 20)
> #define SUPPORTED_20000baseMLD2_Full (1<< 21)
> #define SUPPORTED_20000baseKR2_Full (1<< 22)
> +#define SUPPORTED_40000baseKR4_Full (1<< 23)
> +#define SUPPORTED_40000baseCR4_Full (1<< 24)
> +#define SUPPORTED_40000baseSR4_Full (1<< 25)
> +#define SUPPORTED_40000baseLR4_Full (1<< 26)
>
> /* Indicates what features are advertised by the interface. */
> #define ADVERTISED_10baseT_Half (1<< 0)
> @@ -1178,6 +1182,10 @@ struct ethtool_ops {
> #define ADVERTISED_10000baseR_FEC (1<< 20)
> #define ADVERTISED_20000baseMLD2_Full (1<< 21)
> #define ADVERTISED_20000baseKR2_Full (1<< 22)
> +#define ADVERTISED_40000baseKR4_Full (1<< 23)
> +#define ADVERTISED_40000baseCR4_Full (1<< 24)
> +#define ADVERTISED_40000baseSR4_Full (1<< 25)
> +#define ADVERTISED_40000baseLR4_Full (1<< 26)
Any idea how many defines will be wanted for 100 Gbit Ethernet?
Supported and advertising in ethtool_cmd are __u32s...
rick jones
next prev parent reply other threads:[~2012-06-18 16:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-18 12:44 [PATCH] net: added support for 40GbE link Parav Pandit
2012-06-18 16:27 ` Rick Jones [this message]
2012-06-18 16:56 ` Ben Hutchings
2012-06-19 5:20 ` Parav.Pandit
2012-06-18 17:09 ` Ben Hutchings
2012-06-19 7:29 ` David Miller
2012-06-19 7:33 ` Parav.Pandit
2012-06-19 7:35 ` David Miller
2012-06-19 7:42 ` Parav.Pandit
2012-06-19 14:11 ` Ben Hutchings
2012-06-27 9:08 ` Parav.Pandit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FDF56FB.9080509@hp.com \
--to=rick.jones2@hp$(echo .)com \
--cc=bhutchings@solarflare$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=parav.pandit@emulex$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox