[openwrt/openwrt] kernel: r8125: ignore the rss rxnfc log

LEDE Commits lede-commits at lists.infradead.org
Sun Aug 18 02:39:10 PDT 2024


noltari pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2fd0102cc3dfd81f4585e8599bf671157a4450b8

commit 2fd0102cc3dfd81f4585e8599bf671157a4450b8
Author: Chukun Pan <amadeus at jmu.edu.cn>
AuthorDate: Mon Aug 12 21:26:01 2024 +0800

    kernel: r8125: ignore the rss rxnfc log
    
    This log is noisy and useless, just ignore it.
    
    Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
    Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
---
 package/kernel/r8125/Makefile                      |  2 +-
 .../patches/100-r8125_rss-silence-rxnfc-log.patch  | 26 ++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/package/kernel/r8125/Makefile b/package/kernel/r8125/Makefile
index 0b78154c01..9865210e58 100644
--- a/package/kernel/r8125/Makefile
+++ b/package/kernel/r8125/Makefile
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=r8125
 PKG_VERSION:=9.013.02
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://github.com/openwrt/rtl8125/releases/download/$(PKG_VERSION)
diff --git a/package/kernel/r8125/patches/100-r8125_rss-silence-rxnfc-log.patch b/package/kernel/r8125/patches/100-r8125_rss-silence-rxnfc-log.patch
new file mode 100644
index 0000000000..58eb470037
--- /dev/null
+++ b/package/kernel/r8125/patches/100-r8125_rss-silence-rxnfc-log.patch
@@ -0,0 +1,26 @@
+From cd20cf48c0ec2a01fd9f512e25218a6ac8131794 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari at gmail.com>
+Date: Sat, 17 Aug 2024 22:07:23 +0200
+Subject: [PATCH] r8125_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 at jmu.edu.cn>
+---
+ src/r8125_rss.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/src/r8125_rss.c
++++ b/src/r8125_rss.c
+@@ -91,7 +91,7 @@ int rtl8125_get_rxnfc(struct net_device
+         struct rtl8125_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;




More information about the lede-commits mailing list