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
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
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
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
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
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
.
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
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:
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
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
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
.
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
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
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:
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
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:
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
.
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
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
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
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
21 matches
Mail list logo