forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: r8126: ignore the rss rxnfc log
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> (cherry picked from 8d9893f)
- Loading branch information
Showing
3 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
package/kernel/r8126/patches/100-r8126_rss-silence-rxnfc-log.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |