[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1452075116-5726-1-git-send-email-jiri@resnulli.us>
Date: Wed, 6 Jan 2016 11:11:48 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, idosch@...lanox.com, eladr@...lanox.com,
yotamg@...lanox.com, ogerlitz@...lanox.com,
stephen@...workplumber.org
Subject: [patch net-next 0/8] mlxsw: add offload support for vlan_filtering option
From: Jiri Pirko <jiri@...lanox.com>
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
Elad Raz (8):
bridge: Propagate vlan add failure to user
switchdev: add bridge vlan_filtering attribute
bridge: add vlan filtering change notification
bridge: add vlan filtering change for new bridged device
mlxsw: Fixing vlans init range
mlxsw: Renaming local variable names for consistency
mlxsw: Disable vlan_filtering for non .1D bridge
mlxsw: Remember untagged VLANs
drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 8 +++++
drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 1 +
.../ethernet/mellanox/mlxsw/spectrum_switchdev.c | 39 +++++++++++++++++++---
include/net/switchdev.h | 2 ++
net/bridge/br_if.c | 10 +++++-
net/bridge/br_vlan.c | 29 ++++++++++++++--
6 files changed, 81 insertions(+), 8 deletions(-)
--
1.9.3
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists