From: Álvaro Fernández Rojas Date: Mon, 12 Aug 2024 13:26:01 +0000 (+0800) Subject: kernel: r8126: ignore the rss rxnfc log X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8d9893ff34242f887f40ca271a39e4c67c87b88d;p=openwrt%2Fstaging%2Fstintel.git kernel: r8126: ignore the rss rxnfc log This log is noisy and useless, just ignore it. Signed-off-by: Álvaro Fernández Rojas Signed-off-by: Chukun Pan --- diff --git a/package/kernel/r8126/Makefile b/package/kernel/r8126/Makefile index 691f5a2d97..88d45ff6b0 100644 --- a/package/kernel/r8126/Makefile +++ b/package/kernel/r8126/Makefile @@ -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) diff --git a/package/kernel/r8126/patches/0001-r8126.h-use-BIT_ULL.patch b/package/kernel/r8126/patches/0001-r8126.h-use-BIT_ULL.patch deleted file mode 100644 index cf83163966..0000000000 --- a/package/kernel/r8126/patches/0001-r8126.h-use-BIT_ULL.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 9649df50a239d1379cc8d9febd4854a0c7ca0731 Mon Sep 17 00:00:00 2001 -From: Mieczyslaw Nalewaj -Date: Sat, 10 Aug 2024 17:42:44 +0200 -Subject: [PATCH] r8126.h: use BIT_ULL - -Fixes compilation on 32 bit systems. ---- - r8126.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/src/r8126.h -+++ b/src/r8126.h -@@ -678,7 +678,7 @@ This is free software, and you are welco - #ifndef ADVERTISED_2500baseX_Full - #define ADVERTISED_2500baseX_Full 0x8000 - #endif --#define RTK_ADVERTISED_5000baseX_Full BIT(48) -+#define RTK_ADVERTISED_5000baseX_Full BIT_ULL(48) - - #define RTK_ADVERTISE_2500FULL 0x80 - #define RTK_ADVERTISE_5000FULL 0x100 diff --git a/package/kernel/r8126/patches/001-r8126.h-use-BIT_ULL.patch b/package/kernel/r8126/patches/001-r8126.h-use-BIT_ULL.patch new file mode 100644 index 0000000000..cfbf31fcbb --- /dev/null +++ b/package/kernel/r8126/patches/001-r8126.h-use-BIT_ULL.patch @@ -0,0 +1,21 @@ +From 9649df50a239d1379cc8d9febd4854a0c7ca0731 Mon Sep 17 00:00:00 2001 +From: Mieczyslaw Nalewaj +Date: Sat, 10 Aug 2024 17:42:44 +0200 +Subject: [PATCH] r8126.h: use BIT_ULL + +Fixes compilation on 32 bit systems. +--- + src/r8126.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/src/r8126.h ++++ b/src/r8126.h +@@ -678,7 +678,7 @@ This is free software, and you are welco + #ifndef ADVERTISED_2500baseX_Full + #define ADVERTISED_2500baseX_Full 0x8000 + #endif +-#define RTK_ADVERTISED_5000baseX_Full BIT(48) ++#define RTK_ADVERTISED_5000baseX_Full BIT_ULL(48) + + #define RTK_ADVERTISE_2500FULL 0x80 + #define RTK_ADVERTISE_5000FULL 0x100 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 index 0000000000..d06406004c --- /dev/null +++ b/package/kernel/r8126/patches/100-r8126_rss-silence-rxnfc-log.patch @@ -0,0 +1,27 @@ +From cd20cf48c0ec2a01fd9f512e25218a6ac8131794 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= +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 +Signed-off-by: Álvaro Fernández Rojas +--- + 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;