mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
ec6293febc
Ran update_kernel.sh in a fresh clone without any existing toolchains.
Manually rebased:
pending-5.4/611-netfilter_match_bypass_default_table.patch
The upstream change affecting this patch is the revert of an earlier
kernel commit. Therefore, we just revert our corresponding changes
in [1].
Build system: x86_64
Build-tested: ipq806x/R7800
[1] 9b1b89229f
("kernel: bump 5.4 to 5.4.86")
Signed-off-by: John Audia <graysky@archlinux.us>
[adjust manually rebased patch, add explanation]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
26 lines
812 B
Diff
26 lines
812 B
Diff
From f4e6d7cdbfae502788bc468295b232dec76ee57e Mon Sep 17 00:00:00 2001
|
|
From: Florian Fainelli <f.fainelli@gmail.com>
|
|
Date: Fri, 12 Mar 2021 13:11:01 -0800
|
|
Subject: [PATCH] net: dsa: bcm_sf2: Fill in BCM4908 CFP entries
|
|
|
|
The BCM4908 switch has 256 CFP entrie, update that setting so CFP can be
|
|
used.
|
|
|
|
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
|
|
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
---
|
|
drivers/net/dsa/bcm_sf2.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/net/dsa/bcm_sf2.c
|
|
+++ b/drivers/net/dsa/bcm_sf2.c
|
|
@@ -1060,7 +1060,7 @@ static const struct bcm_sf2_of_data bcm_
|
|
.type = BCM4908_DEVICE_ID,
|
|
.core_reg_align = 0,
|
|
.reg_offsets = bcm_sf2_4908_reg_offsets,
|
|
- .num_cfp_rules = 0, /* FIXME */
|
|
+ .num_cfp_rules = 256,
|
|
.num_crossbar_int_ports = 2,
|
|
};
|
|
|