From: David S. Miller Date: Wed, 6 Jan 2016 19:42:42 +0000 (-0500) Subject: Merge branch 'mlxsw-vlan_filtering-offload' X-Git-Tag: v5.15~13995^2~397 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f637941b14055d5479bb43fc776e88a52cad33c9;p=platform%2Fkernel%2Flinux-starfive.git 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 --- f637941b14055d5479bb43fc776e88a52cad33c9