Skip to contentSkip to conversation

ethtool: add support for supporting 10000baseT

PATCH Applied Auke Kok 3 participants 5 messages Nov 7, 2007 – Nov 24, 2007

Subsystems (2)
lore
Share & tools
lore

Auke Kok

author
#0 lore raw

PATCH 1/1 ethtool: add support for supporting 10000baseT

From: Jesse Brandeburg <[email protected]>

there is missing support in ethtool for reporting 10000baseT as SUPPORTED_10000baseT_Full. The code seems to be half implemented because the "advertising" field has the implementation.

this patch just adds it for supported reporting.

---

 ethtool.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
ethtool.c +7 -0
index 6c7a2e3..888be57 100644
@@ -725,6 +725,13 @@ static void dump_supported(struct ethtool_cmd *ep)
 	if (mask & SUPPORTED_2500baseX_Full) {
 		did1++; fprintf(stdout, "2500baseX/Full ");
 	}
+	if (did1 && (mask & SUPPORTED_10000baseT_Full)) {
+		fprintf(stdout, "\n");
+		fprintf(stdout, "	                        ");
+	}
+	if (mask & SUPPORTED_10000baseT_Full) {
+		did1++; fprintf(stdout, "10000baseT/Full ");
+	}
 	fprintf(stdout, "\n");
 
 	fprintf(stdout, "	Supports auto-negotiation: ");
#1 lore raw
Quoted 5 lines · Auke Kok

From: Jesse Brandeburg <[email protected]>

there is missing support in ethtool for reporting 10000baseT as SUPPORTED_10000baseT_Full. The code seems to be half implemented because the "advertising" field has the implementation.

I reported this lack on Sourceforge a while back:
<http://sourceforge.net/tracker/index.php?func=detail&aid=1798807&group_id=3242&atid=103242>
Is anyone reading bugs reported there?

Ben.

Signature · 2 lines
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
author
#2 lore raw
Quoted 10 lines · Ben Hutchings
Quoted 5 lines · Auke Kok

From: Jesse Brandeburg <[email protected]>

there is missing support in ethtool for reporting 10000baseT as SUPPORTED_10000baseT_Full. The code seems to be half implemented because the "advertising" field has the implementation.

I reported this lack on Sourceforge a while back:
<http://sourceforge.net/tracker/index.php?func=detail&aid=1798807&group_id=3242&atid=103242>
Is anyone reading bugs reported there?

not really. However with plenty of new 10gig hardware going through here we're currently looking at ethtool support and seeing if it misses anything. If you spot issues, please Cc me or Jesse and netdev and of course Jeff Garzik so we can get some patches out.

I just noticed an e1000 specific ethtool issue on there that we'll take a look at as well.

Auke

#3 lore raw
Quoted 8 lines · Auke
Quoted 7 lines · Ben Hutchings
Quoted 5 lines · Auke Kok

From: Jesse Brandeburg <[email protected]>

there is missing support in ethtool for reporting 10000baseT as SUPPORTED_10000baseT_Full. The code seems to be half implemented because the "advertising" field has the implementation.

Quoted 7 lines
Quoted 3 lines

I reported this lack on Sourceforge a while back:
<http://sourceforge.net/tracker/index.php?func=detail&aid=1798807&group_id=3242&atid=103242>
Is anyone reading bugs reported there?

not really. However with plenty of new 10gig hardware going through here we're currently looking at ethtool support and seeing if it misses anything.

I think that's the only remaining issue we have with ethtool itself. There's a wider issue of clause 45 MDIO for 10G Ethernet though.

Ben.

Signature · 2 lines
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
Applied
#4 lore raw
In reply to Auke Kok
Quoted 6 lines · Auke Kok

From: Jesse Brandeburg <[email protected]>

there is missing support in ethtool for reporting 10000baseT as SUPPORTED_10000baseT_Full. The code seems to be half implemented because the "advertising" field has the implementation.

Quoted 8 lines

this patch just adds it for supported reporting.

---

 ethtool.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

applied