netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Murphy <dmurphy@ti.com>
To: <mkubecek@suse.cz>
Cc: <netdev@vger.kernel.org>, Dan Murphy <dmurphy@ti.com>
Subject: [PATCH ethtool v3 1/3] Add missing 400000base modes for dump_link_caps
Date: Mon, 28 Sep 2020 09:44:01 -0500	[thread overview]
Message-ID: <20200928144403.19484-1-dmurphy@ti.com> (raw)

Commit 63130d0b00040 ("update link mode tables") missed adding in the
400000base link_caps to the array.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
---
 ethtool.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/ethtool.c b/ethtool.c
index 4f93c0f96985..974b14063de2 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -659,6 +659,16 @@ static void dump_link_caps(const char *prefix, const char *an_prefix,
 		  "200000baseDR4/Full" },
 		{ 0, ETHTOOL_LINK_MODE_200000baseCR4_Full_BIT,
 		  "200000baseCR4/Full" },
+		{ 0, ETHTOOL_LINK_MODE_400000baseKR4_Full_BIT,
+		  "400000baseKR4/Full" },
+		{ 0, ETHTOOL_LINK_MODE_400000baseSR4_Full_BIT,
+		  "400000baseSR4/Full" },
+		{ 0, ETHTOOL_LINK_MODE_400000baseLR4_ER4_FR4_Full_BIT,
+		  "400000baseLR4_ER4_FR4/Full" },
+		{ 0, ETHTOOL_LINK_MODE_400000baseDR4_Full_BIT,
+		  "400000baseDR4/Full" },
+		{ 0, ETHTOOL_LINK_MODE_400000baseCR4_Full_BIT,
+		  "400000baseCR4/Full" },
 	};
 	int indent;
 	int did1, new_line_pend;
-- 
2.28.0.585.ge1cfff676549


             reply	other threads:[~2020-09-28 14:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-28 14:44 Dan Murphy [this message]
2020-09-28 14:44 ` [PATCH ethtool v3 2/3] update UAPI header copies Dan Murphy
2020-09-28 14:44 ` [PATCH ethtool v3 3/3] Update link mode tables for fiber Dan Murphy
2020-09-28 16:37 ` [PATCH ethtool v3 1/3] Add missing 400000base modes for dump_link_caps Michal Kubecek
2020-09-28 16:43   ` Dan Murphy
2020-09-28 16:52     ` Michal Kubecek

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=20200928144403.19484-1-dmurphy@ti.com \
    --to=dmurphy@ti.com \
    --cc=mkubecek@suse.cz \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).