diff options
author | Ido Schimmel <idosch@mellanox.com> | 2016-02-18 13:01:46 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-18 16:18:11 (GMT) |
commit | 7fbac984f33a374a06fa7b1fc41127bdaf7d6c07 (patch) | |
tree | a311a3a4f1c42f609b41e204d8fba613e0bba107 /fs/hpfs | |
parent | 930b37ee8d84e1f3008c89e9ce09acbe1a6b5670 (diff) | |
download | linux-7fbac984f33a374a06fa7b1fc41127bdaf7d6c07.tar.xz |
bridge: switchdev: Offload VLAN flags to hardware bridge
When VLANs are created / destroyed on a VLAN filtering bridge (MASTER
flag set), the configuration is passed down to the hardware. However,
when only the flags (e.g. PVID) are toggled, the configuration is done
in the software bridge alone.
While it is possible to pass these flags to hardware when invoked with
the SELF flag set, this creates inconsistency with regards to the way
the VLANs are initially configured.
Pass the flags down to the hardware even when the VLAN already exists
and only the flags are toggled.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/hpfs')
0 files changed, 0 insertions, 0 deletions