Re: [PATCH v2 1/2] bcm53xx: remove extsw interface on Linksys EA9500

2021-10-23 Thread Matthew Hagan
On 23/10/2021 22:31, Arınç ÜNAL wrote: > On 24/10/2021 00:14, Rafał Miłecki wrote: >> On 2021-10-23 23:09, Arınç ÜNAL wrote: >>> On 23/10/2021 23:35, Rafał Miłecki wrote: On 2021-10-23 21:56, Arınç ÜNAL wrote: > Remove extsw interface from the bridge as it's used as a master > interf

Re: [PATCH v2 1/2] bcm53xx: remove extsw interface on Linksys EA9500

2021-10-23 Thread Arınç ÜNAL
On 24/10/2021 00:14, Rafał Miłecki wrote: On 2021-10-23 23:09, Arınç ÜNAL wrote: On 23/10/2021 23:35, Rafał Miłecki wrote: On 2021-10-23 21:56, Arınç ÜNAL wrote: Remove extsw interface from the bridge as it's used as a master interface by the DSA driver. According to Vivek it's required, I e

Re: [PATCH v2 1/2] bcm53xx: remove extsw interface on Linksys EA9500

2021-10-23 Thread Rafał Miłecki
On 2021-10-23 23:09, Arınç ÜNAL wrote: On 23/10/2021 23:35, Rafał Miłecki wrote: On 2021-10-23 21:56, Arınç ÜNAL wrote: Remove extsw interface from the bridge as it's used as a master interface by the DSA driver. According to Vivek it's required, I explicitly asked about it: https://forum.ope

Re: [PATCH v2 1/2] bcm53xx: remove extsw interface on Linksys EA9500

2021-10-23 Thread Arınç ÜNAL
On 23/10/2021 23:35, Rafał Miłecki wrote: On 2021-10-23 21:56, Arınç ÜNAL wrote: Remove extsw interface from the bridge as it's used as a master interface by the DSA driver. According to Vivek it's required, I explicitly asked about it: https://forum.openwrt.org/t/build-for-linksys-ea9500/1817

Re: [PATCH v2 1/2] bcm53xx: remove extsw interface on Linksys EA9500

2021-10-23 Thread Rafał Miłecki
On 2021-10-23 21:56, Arınç ÜNAL wrote: Remove extsw interface from the bridge as it's used as a master interface by the DSA driver. According to Vivek it's required, I explicitly asked about it: https://forum.openwrt.org/t/build-for-linksys-ea9500/1817/984 _

[PATCH v2 2/2] bcm53xx: add support for Asus RT-AC88U

2021-10-23 Thread Arınç ÜNAL
Asus RT-AC88U is an AC3100 router featuring 9 Ethernet ports over the integrated Broadcom and the external Realtek switch. Hardware info: * Processor: Broadcom BCM4709C0KFEBG dual-core @ 1.4 GHz * Switch: BCM53012 in BCM4709C0KFEBG & external RTL8365MB * DDR3 RAM: 512 MB * Flash: 128 MB (ESMT F59

[PATCH v2 1/2] bcm53xx: remove extsw interface on Linksys EA9500

2021-10-23 Thread Arınç ÜNAL
Remove extsw interface from the bridge as it's used as a master interface by the DSA driver. Signed-off-by: Arınç ÜNAL --- target/linux/bcm53xx/base-files/etc/board.d/02_network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/bcm53xx/base-files/etc/board.d/02_ne

[PATCH 2/2] bcm53xx: add support for Asus RT-AC88U

2021-10-23 Thread Arınç ÜNAL
Asus RT-AC88U is an AC3100 router featuring 9 Ethernet ports over the integrated Broadcom and the external Realtek switch. Hardware info: * Processor: Broadcom BCM4709C0KFEBG dual-core @ 1.4 GHz * Switch: BCM53012 in BCM4709C0KFEBG & external RTL8365MB * DDR3 RAM: 512 MB * Flash: 128 MB (ESMT F59

[PATCH 1/2] bcm53xx: remove extsw interface on Linksys EA9500

2021-10-23 Thread Arınç ÜNAL
Remove extsw interface from the bridge as it's used as a master interface by the DSA driver. Signed-off-by: Arınç ÜNAL --- target/linux/bcm53xx/base-files/etc/board.d/02_network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/bcm53xx/base-files/etc/board.d/02_ne

[PATCH 3/3] kernel: 5.10: simplify logic in packet mangling patch

2021-10-23 Thread Mathias Kresin
I had quite a hard time to understand what the change to net/core/dev.c is supposed to do. Simplify the change by returning NETDEV_TX_OK in case a eth_mangle_tx callback was set but returned NULL instead of setting the return value in the else branch. Signed-off-by: Mathias Kresin --- .../721-n

[PATCH 2/3] kernel: 5.10: packet mangling code only for ar8216 driver

2021-10-23 Thread Mathias Kresin
Only the ar8216 switch driver uses the packet mangling code. Update the kernel configs accordingly. Signed-off-by: Mathias Kresin --- target/linux/ath79/config-5.10 | 1 + .../linux/generic/hack-5.10/700-swconfig_switch_drivers.patch | 2 +- target/linux/ipq80

[PATCH 1/3] kernel: 5.10: fix ar8216 vlans

2021-10-23 Thread Mathias Kresin
ar8216 switches have a hardware bug, which renders normal 802.1q support unusable. Packet mangling is required to fix up the vlan for incoming packets. The patch was ommited at the time kernel 5.10 support was added but is still required for ar8216 switches. Signed-off-by: Mathias Kresin --- ..