Преглед изворни кода

ethtool: update to 6.15

Version 6.15 - 29-Aug-2025

* netlink: fix missing headers in text output
* netlink: fix print_string when the value is NULL

Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc

Signed-off-by: John Audia <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20021
Signed-off-by: Nick Hainke <[email protected]>
John Audia пре 3 месеци
родитељ
комит
4e7914f96a

+ 2 - 2
package/network/utils/ethtool/Makefile

@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 include $(TOPDIR)/rules.mk
 
 
 PKG_NAME:=ethtool
 PKG_NAME:=ethtool
-PKG_VERSION:=6.14
+PKG_VERSION:=6.15
 PKG_RELEASE:=1
 PKG_RELEASE:=1
 
 
 PKG_MAINTAINER:=Felix Fietkau <[email protected]>
 PKG_MAINTAINER:=Felix Fietkau <[email protected]>
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@KERNEL/software/network/ethtool
 PKG_SOURCE_URL:=@KERNEL/software/network/ethtool
-PKG_HASH:=9338bb00e492878d3bbe3cd2894e60db35813634c208db0b20f5c7ee84da69b1
+PKG_HASH:=9477c365114d910120aaec5336a1d16196c833d8486f7c6da67bedef57880ade
 
 
 PKG_LICENSE:=GPL-2.0
 PKG_LICENSE:=GPL-2.0
 PKG_LICENSE_FILES:=COPYING
 PKG_LICENSE_FILES:=COPYING

+ 3 - 3
package/network/utils/ethtool/patches/0001-ethtool-make-building-for-RSS-input-xfrm-optional.patch

@@ -37,7 +37,7 @@ Signed-off-by: Daniel Golle <[email protected]>
  	                   [Install the bash-completion script in this directory. @<:@default=yes@:>@]),
  	                   [Install the bash-completion script in this directory. @<:@default=yes@:>@]),
 --- a/ethtool.c
 --- a/ethtool.c
 +++ b/ethtool.c
 +++ b/ethtool.c
-@@ -4114,7 +4114,7 @@ static int do_grxfh(struct cmd_context *
+@@ -4170,7 +4170,7 @@ static int do_grxfh(struct cmd_context *
  	}
  	}
  	if (rss->hfunc)
  	if (rss->hfunc)
  		printf("    Unknown hash function: 0x%x\n", rss->hfunc);
  		printf("    Unknown hash function: 0x%x\n", rss->hfunc);
@@ -46,7 +46,7 @@ Signed-off-by: Daniel Golle <[email protected]>
  	printf("RSS input transformation:\n");
  	printf("RSS input transformation:\n");
  	printf("    symmetric-xor: %s\n",
  	printf("    symmetric-xor: %s\n",
  	       (rss->input_xfrm & RXH_XFRM_SYM_XOR) ? "on" : "off");
  	       (rss->input_xfrm & RXH_XFRM_SYM_XOR) ? "on" : "off");
-@@ -4123,6 +4123,7 @@ static int do_grxfh(struct cmd_context *
+@@ -4182,6 +4182,7 @@ static int do_grxfh(struct cmd_context *
  	if (rss->input_xfrm)
  	if (rss->input_xfrm)
  		printf("    Unknown bits in RSS input transformation: 0x%x\n",
  		printf("    Unknown bits in RSS input transformation: 0x%x\n",
  		       rss->input_xfrm);
  		       rss->input_xfrm);
@@ -54,7 +54,7 @@ Signed-off-by: Daniel Golle <[email protected]>
  
  
  out:
  out:
  	free(hfuncs);
  	free(hfuncs);
-@@ -4442,7 +4443,15 @@ static int do_srxfh(struct cmd_context *
+@@ -4503,7 +4504,15 @@ static int do_srxfh(struct cmd_context *
  	rss->cmd = ETHTOOL_SRSSH;
  	rss->cmd = ETHTOOL_SRSSH;
  	rss->rss_context = rss_context;
  	rss->rss_context = rss_context;
  	rss->hfunc = req_hfunc;
  	rss->hfunc = req_hfunc;