diff options
author | David S. Miller <davem@davemloft.net> | 2016-01-06 14:42:42 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-06 14:42:42 -0500 |
commit | f637941b14055d5479bb43fc776e88a52cad33c9 (patch) | |
tree | 07f656c8413f9bb56d1fb4f566890f8df23c134f /drivers/net/ethernet/atheros | |
parent | 00ce3a15d811978fcb204a1a3f5f8c059096fa5e (diff) | |
parent | fc1273afb257663de034260f5b5fbbd8d79d6308 (diff) |
Merge branch 'mlxsw-vlan_filtering-offload'
Jiri Pirko says:
====================
mlxsw: add offload support for vlan_filtering option
Elad says:
This patch adds SWITCHDEV_ATTR_ID_BRIDGE_VLAN_FILTERING port attribute.
When a bridge is offloaded to hardware, the hardware can learn if the bridge is
.1Q bridge (VLAN-aware) or not VLAN aware bridge.
In order to toggle the mode a user can use sysfs:
$ echo 1 > /sys/devices/virtual/net/br0/bridge/vlan_filtering
or via iproute2:
$ ip link set dev br0 type bridge vlan_filtering 1
---
v1->v2: small fix in patch #1
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/atheros')
0 files changed, 0 insertions, 0 deletions