[openwrt/openwrt] ethtool: update to 6.14

LEDE Commits lede-commits at lists.infradead.org
Thu May 15 12:57:57 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/08179b367b1d640615489490b04fd77fc24581e9

commit 08179b367b1d640615489490b04fd77fc24581e9
Author: Piotr Kubik <piotr.kubik at adtran.com>
AuthorDate: Tue Apr 8 12:41:52 2025 +0200

    ethtool: update to 6.14
    
    Version 6.14 - April 7, 2025
            * Feature: list PHYs (--show-phys)
            * Feature: target a specific PHY with some commands (--phy)
            * Feature: more attributes for C33 PSE (--show-pse, --set-pse)
            * Feature: source information for cable tests (--cable-test[-tdr])
            * Feature: JSON output for module info (-m)
            * Feature: misc RSS hash info improvements (-x)
            * Feature: tsinfo hwtstamp provider (--{get,set}-hwtimestamp-cfg)
            * Fix: fix wrong auto-negotiation state (no option)
            * Fix: more explicit RSS context action (-n)
            * Fix: print PHY address as decimal (no option)
            * Fix: fix return value on flow hashing error (-N)
            * Fix: fix JSON output for IRQ coalescing
            * Fix: fix MDI-X info output (no option)
            * Misc: code cleanup in module parsers
            * Misc: provide module_info JSON schema
            * Misc: add '-j' alias for --json
            * Misc: provide AppStream metainfo XML
            * Misc: update message descriptions for debugging output
    
    Signed-off-by: Piotr Kubik <piotr.kubik at adtran.com>
    Signed-off-by: Chad Monroe <chad at monroe.io>
    Link: https://github.com/openwrt/openwrt/pull/18803
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/network/utils/ethtool/Makefile                    |  4 ++--
 ...thtool-make-building-for-RSS-input-xfrm-optional.patch | 15 ++++++++++-----
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/package/network/utils/ethtool/Makefile b/package/network/utils/ethtool/Makefile
index 5da65273ca..aa663b5d60 100644
--- a/package/network/utils/ethtool/Makefile
+++ b/package/network/utils/ethtool/Makefile
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ethtool
-PKG_VERSION:=6.11
+PKG_VERSION:=6.14
 PKG_RELEASE:=1
 
 PKG_MAINTAINER:=Felix Fietkau <nbd at nbd.name>
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@KERNEL/software/network/ethtool
-PKG_HASH:=8d91f5c72ae3f25b7e88d4781279dcb320f71e30058914370b1c574c96b31202
+PKG_HASH:=9338bb00e492878d3bbe3cd2894e60db35813634c208db0b20f5c7ee84da69b1
 
 PKG_LICENSE:=GPL-2.0
 PKG_LICENSE_FILES:=COPYING
diff --git a/package/network/utils/ethtool/patches/0001-ethtool-make-building-for-RSS-input-xfrm-optional.patch b/package/network/utils/ethtool/patches/0001-ethtool-make-building-for-RSS-input-xfrm-optional.patch
index 4c8403dcbc..58cb2f066c 100644
--- a/package/network/utils/ethtool/patches/0001-ethtool-make-building-for-RSS-input-xfrm-optional.patch
+++ b/package/network/utils/ethtool/patches/0001-ethtool-make-building-for-RSS-input-xfrm-optional.patch
@@ -37,19 +37,24 @@ Signed-off-by: Daniel Golle <daniel at makrotopia.org>
  	                   [Install the bash-completion script in this directory. @<:@default=yes@:>@]),
 --- a/ethtool.c
 +++ b/ethtool.c
-@@ -4109,9 +4109,11 @@ static int do_grxfh(struct cmd_context *
- 		       (const char *)hfuncs->data + i * ETH_GSTRING_LEN,
- 		       (rss->hfunc & (1 << i)) ? "on" : "off");
- 
+@@ -4114,7 +4114,7 @@ static int do_grxfh(struct cmd_context *
+ 	}
+ 	if (rss->hfunc)
+ 		printf("    Unknown hash function: 0x%x\n", rss->hfunc);
+-
 +#ifdef ETHTOOL_ENABLE_RSS_INPUT_XFRM
  	printf("RSS input transformation:\n");
  	printf("    symmetric-xor: %s\n",
  	       (rss->input_xfrm & RXH_XFRM_SYM_XOR) ? "on" : "off");
+@@ -4123,6 +4123,7 @@ static int do_grxfh(struct cmd_context *
+ 	if (rss->input_xfrm)
+ 		printf("    Unknown bits in RSS input transformation: 0x%x\n",
+ 		       rss->input_xfrm);
 +#endif
  
  out:
  	free(hfuncs);
-@@ -4431,7 +4433,15 @@ static int do_srxfh(struct cmd_context *
+@@ -4442,7 +4443,15 @@ static int do_srxfh(struct cmd_context *
  	rss->cmd = ETHTOOL_SRSSH;
  	rss->rss_context = rss_context;
  	rss->hfunc = req_hfunc;




More information about the lede-commits mailing list