[PATCH] bridge: increase mtu to 64K

2020-05-07 Thread Michael Braun
e (without the workaround) to use a large MTU on the guest VMs. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1399064 Signed-off-by: Michael Braun Reported-by: Li RongQing -- If found https://patchwork.ozlabs.org/project/netdev/patch/1456133351-10292-1-git-send-email-roy.qing...@gmail

[PATCH v5] iproute2: macvlan: add "source" mode

2016-11-22 Thread Michael Braun
vlan0 type macvlan macaddr del 00:11:11:11:11:11 ip link set link dev macvlan0 type macvlan macaddr flush ip -details link show dev macvlan0 Based on previous work of Stefan Gula Signed-off-by: Michael Braun Cc: ste...@gmail.com v5: - rebase and fix checkpatch v4: - add MACADDR_S

[PATCH v8] mac80211: multicast to unicast conversion

2016-11-22 Thread Michael Braun
l the difference if this new option is enabled.) This also doesn't implement the 802.11 DMS (directed multicast service). Signed-off-by: Michael Braun -- v8: - remove superflous check - change return type to bool v7: - avoid recursion - style and description v5: - rename bss->u

[PATCH v7 1/2] nl80211: multicast_to_unicast can be changed while IFF_UP

2016-10-31 Thread Michael Braun
There is no need to prevent toggling multicast_to_unicast while interface is already up. This change simplifies reconfiguration from hostapd. Signed-off-by: Michael Braun --- net/wireless/nl80211.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/net/wireless/nl80211.c b/net/wireless

[PATCH v7 2/2] mac80211: multicast to unicast conversion

2016-10-31 Thread Michael Braun
l the difference if this new option is enabled.) This also doesn't implement the 802.11 DMS (directed multicast service). Signed-off-by: Michael Braun -- v7: - avoid recursion - style and description v5: - rename bss->unicast to bss->multicast_to_unicast - access sdata->bss

[PATCH v4] iproute2: macvlan: add "source" mode

2016-10-27 Thread Michael Braun
vlan0 type macvlan macaddr del 00:11:11:11:11:11 ip link set link dev macvlan0 type macvlan macaddr flush ip -details link show dev macvlan0 Based on previous work of Stefan Gula Signed-off-by: Michael Braun Cc: ste...@gmail.com v4: - add MACADDR_SET support - skip FLAG_UNICAST / FLAG_U

[PATCH v6 2/4] mac80211: filter multicast data packets on AP / AP_VLAN

2016-10-10 Thread Michael Braun
. The existing one for AP interfaces is altered to not track stations assigned to an AP_VLAN interface. The new counter is exposed in debugfs. Signed-off-by: Michael Braun -- v4: - update description v3: - reuse existing num_mcast_sta v2: - use separate function to inc/dec mcast_sta counters

[PATCH v6 4/4] mac80211: multicast to unicast conversion

2016-10-10 Thread Michael Braun
ged. This change opts for iterating all BSS stations for finding the stations assigned to this AP/AP_VLAN interface, as there currently is no per AP_VLAN list to iterate and multicast packets are expected to be few. If needed, such a list could be added later. Signed-off-by: Michael Braun -- v5:

[PATCH v6 3/4] cfg80211: configure multicast to unicast for AP interfaces

2016-10-10 Thread Michael Braun
This add a userspace toggle to configure multicast to unicast. Signed-off-by: Michael Braun -- v6: - clarify documentation - fix policy for NL80211_ATTR_MULTICAST_TO_UNICAST_ENABLED --- include/net/cfg80211.h | 6 ++ include/uapi/linux/nl80211.h | 18 ++ net

[PATCH v6 1/4] mac80211: remove unnecessary num_mcast_sta user

2016-10-10 Thread Michael Braun
Checking for num_mcast_sta in __ieee80211_request_smps_ap() is unnecessary, as sta list will be empty in this case anyway, so list_for_each_entry(sta, ...) will exit immediately. Signed-off-by: Michael Braun --- net/mac80211/cfg.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/net

[PATCH v5 3/4] cfg80211: configure multicast to unicast for AP interfaces

2016-10-07 Thread Michael Braun
This add a userspace toggle to configure multicast to unicast. Signed-off-by: Michael Braun --- include/net/cfg80211.h | 6 ++ include/uapi/linux/nl80211.h | 10 ++ net/wireless/nl80211.c | 36 net/wireless/rdev-ops.h | 12

[PATCH v5 2/4] mac80211: filter multicast data packets on AP / AP_VLAN

2016-10-07 Thread Michael Braun
. The existing one for AP interfaces is altered to not track stations assigned to an AP_VLAN interface. The new counter is exposed in debugfs. Signed-off-by: Michael Braun -- v4: - update description v3: - reuse existing num_mcast_sta v2: - use separate function to inc/dec mcast_sta counters

[PATCH v5 1/4] mac80211: remove unnecessary num_mcast_sta user

2016-10-07 Thread Michael Braun
Checking for num_mcast_sta in __ieee80211_request_smps_ap() is unnecessary, as sta list will be empty in this case anyway, so list_for_each_entry(sta, ...) will exit immediately. Signed-off-by: Michael Braun --- net/mac80211/cfg.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/net

[PATCH v5 4/4] mac80211: multicast to unicast conversion

2016-10-07 Thread Michael Braun
ged. This change opts for iterating all BSS stations for finding the stations assigned to this AP/AP_VLAN interface, as there currently is no per AP_VLAN list to iterate and multicast packets are expected to be few. If needed, such a list could be added later. Signed-off-by: Michael Braun -- v5:

[PATCH v4 1/4] mac80211: remove unnecessary num_mcast_sta user

2016-10-07 Thread Michael Braun
Checking for num_mcast_sta in __ieee80211_request_smps_ap() is unnecessary, as sta list will be empty in this case anyway, so list_for_each_entry(sta, ...) will exit immediately. Signed-off-by: Michael Braun --- net/mac80211/cfg.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/net

[PATCH v4 4/4] mac80211: multicast to unicast conversion

2016-10-07 Thread Michael Braun
ged. This change opts for iterating all BSS stations for finding the stations assigned to this AP/AP_VLAN interface, as there currently is no per AP_VLAN list to iterate and multicast packets are expected to be few. If needed, such a list could be added later. Signed-off-by: Michael Braun -- v4:

[PATCH v4 3/4] cfg80211: configure multicast to unicast for AP interfaces

2016-10-07 Thread Michael Braun
This add a userspace toggle to configure multicast to unicast. Signed-off-by: Michael Braun --- include/net/cfg80211.h | 6 ++ include/uapi/linux/nl80211.h | 10 ++ net/wireless/nl80211.c | 36 net/wireless/rdev-ops.h | 12

[PATCH v4 2/4] mac80211: filter multicast data packets on AP / AP_VLAN

2016-10-07 Thread Michael Braun
. The existing one for AP interfaces is altered to not track stations assigned to an AP_VLAN interface. The new counter is exposed in debugfs. Signed-off-by: Michael Braun -- v4: - update description v3: - reuse existing num_mcast_sta v2: - use separate function to inc/dec mcast_sta counters

[PATCH v3] iproute2: macvlan: add "source" mode

2016-09-25 Thread Michael Braun
vlan0 type macvlan macaddr del 00:11:11:11:11:11 ip link set link dev macvlan0 type macvlan macaddr flush ip -details link show dev macvlan0 Based on previous work of Stefan Gula Signed-off-by: Michael Braun Cc: ste...@gmail.com -- v3: fix coding style, sorry for the noise --- inc

[PATCH v2] iproute2: macvlan: add "source" mode

2016-09-25 Thread Michael Braun
vlan0 type macvlan macaddr del 00:11:11:11:11:11 ip link set link dev macvlan0 type macvlan macaddr flush ip -details link show dev macvlan0 Based on previous work of Stefan Gula Signed-off-by: Michael Braun Cc: ste...@gmail.com --- include/linux/if_link.h | 2 + ip/iplink_macvlan.c

[PATCH] iproute2: macvlan: add "source" mode

2016-09-25 Thread Michael Braun
vlan0 type macvlan macaddr del 00:11:11:11:11:11 ip link set link dev macvlan0 type macvlan macaddr flush ip -details link show dev macvlan0 Based on previous work of Stefan Gula Signed-off-by: Michael Braun Cc: ste...@gmail.com --- include/linux/if_link.h | 2 ++ man/man8/ip-link.8