]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: r8126: ignore the rss rxnfc log
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 12 Aug 2024 13:26:01 +0000 (21:26 +0800)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 18 Aug 2024 09:38:40 +0000 (11:38 +0200)
This log is noisy and useless, just ignore it.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
package/kernel/r8126/Makefile
package/kernel/r8126/patches/001-r8126.h-use-BIT_ULL.patch [moved from package/kernel/r8126/patches/0001-r8126.h-use-BIT_ULL.patch with 97% similarity]
package/kernel/r8126/patches/100-r8126_rss-silence-rxnfc-log.patch [new file with mode: 0644]

index 691f5a2d97953781975f8d0c92ba91ea6c2012c4..88d45ff6b0e535f9bad38329799f78354e086637 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=r8126
 PKG_VERSION:=10.013.00
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://github.com/openwrt/rtl8126/releases/download/$(PKG_VERSION)
similarity index 97%
rename from package/kernel/r8126/patches/0001-r8126.h-use-BIT_ULL.patch
rename to package/kernel/r8126/patches/001-r8126.h-use-BIT_ULL.patch
index cf83163966e73de4112377a564e3032374ba8e0d..cfbf31fcbb3e4423ef1f33ea1eeeec5c34d6a008 100644 (file)
@@ -5,7 +5,7 @@ Subject: [PATCH] r8126.h: use BIT_ULL
 
 Fixes compilation on 32 bit systems.
 ---
- r8126.h | 2 +-
src/r8126.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 --- a/src/r8126.h
diff --git a/package/kernel/r8126/patches/100-r8126_rss-silence-rxnfc-log.patch b/package/kernel/r8126/patches/100-r8126_rss-silence-rxnfc-log.patch
new file mode 100644 (file)
index 0000000..d064060
--- /dev/null
@@ -0,0 +1,27 @@
+From cd20cf48c0ec2a01fd9f512e25218a6ac8131794 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
+Date: Sat, 17 Aug 2024 22:07:23 +0200
+Subject: [PATCH] r8126_rss: silence rxnfc log
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This log is noisy and useless, just ignore it.
+
+Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
+Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
+---
+ src/r8126_rss.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/src/r8126_rss.c
++++ b/src/r8126_rss.c
+@@ -91,7 +91,7 @@ int rtl8126_get_rxnfc(struct net_device
+         struct rtl8126_private *tp = netdev_priv(dev);
+         int ret = -EOPNOTSUPP;
+-        netif_info(tp, drv, tp->dev, "rss get rxnfc\n");
++        netif_dbg(tp, drv, tp->dev, "rss get rxnfc\n");
+         if (!(dev->features & NETIF_F_RXHASH))
+                 return ret;