[PATCH v1 2/2] realtek: consistently flood RMA frames

2022-09-12 Thread Sander Vanheule
The switches support different actions for incoming ethernet multicast frames with Reserved Multicast Addresses (01-80-C2-00-00-{01-2F}). The current code will set the 2-bit action field to FLOOD (0x3) for most classes, but the highest bit is always unset for the relevant control registers. This me

[PATCH v1 1/2] realtek: remove RTL839x path in RTL838x multicast

2022-09-12 Thread Sander Vanheule
The multicast setup function rtl838x_eth_set_multicast_list() checks if the current SoC is a RTL839x family device. However, the function is only included in the RTL838x ops table, so this path should never be taken, making this dead code. rtl839x_eth_set_multicast_list() is already present in the

Re: DSA Terminology

2022-09-12 Thread Rich Brown
Hello Arınç, Thank you for persisting in correcting my understanding. I appreciate the link to the dsa.rst document. I now realize that as you and jow have said, "DSA is simply a way to give each port of a switch its own name" so it can be configured. But if I'm reading it right, there's a cl

[PATCH-22.03] netifd: fix bridge setting vlan bug for wireless devices

2022-09-12 Thread LiXiong Liu
When netifd processes device wlanX, device wlanX may not exist, or device wlanX has been in bridge BR-LAN in advance, which will result in bridge addition failure. A way to reproduce the problem: config device option name 'br-lan' option type 'bridge' list ports 'lan1'

[PATCH 1/2] scripts/download.pl: silence can't exec curl warning

2022-09-12 Thread Petr Štetiar
When running build in verbose mode `make V=s` we can see a lot of following warnings when curl is not available in the system: Can't exec "curl": No such file or directory at scripts/download.pl line 77. So lets fix it by redirecting of the stderr to null hole. Signed-off-by: Petr Štetiar ---

[PATCH 2/2] scripts/download.pl: fix downloads with wget

2022-09-12 Thread Petr Štetiar
Several users of wget for downloads (curl is not available in the system) have reported broken download functionality: wget --tries=5 --timeout=20 --output-document=- https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.10.142.tar.xz http://: Invalid host name. Fix it by properly handling of