netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch net-next v2 0/8] mlxsw: add offload support for vlan_filtering option
@ 2016-01-06 12:01 Jiri Pirko
  2016-01-06 12:01 ` [patch net-next v2 1/8] bridge: Propagate vlan add failure to user Jiri Pirko
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Jiri Pirko @ 2016-01-06 12:01 UTC (permalink / raw)
  To: netdev; +Cc: davem, idosch, eladr, yotamg, ogerlitz, stephen

From: Jiri Pirko <jiri@mellanox.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

---
v1->v2: small fix in patch #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                                 | 11 +++++-
 net/bridge/br_vlan.c                               | 29 ++++++++++++++--
 6 files changed, 82 insertions(+), 8 deletions(-)

-- 
1.9.3

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-01-06 19:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-06 12:01 [patch net-next v2 0/8] mlxsw: add offload support for vlan_filtering option Jiri Pirko
2016-01-06 12:01 ` [patch net-next v2 1/8] bridge: Propagate vlan add failure to user Jiri Pirko
2016-01-06 12:01 ` [patch net-next v2 2/8] switchdev: add bridge vlan_filtering attribute Jiri Pirko
2016-01-06 12:01 ` [patch net-next v2 3/8] bridge: add vlan filtering change notification Jiri Pirko
2016-01-06 12:01 ` [patch net-next v2 4/8] bridge: add vlan filtering change for new bridged device Jiri Pirko
2016-01-06 12:01 ` [patch net-next v2 5/8] mlxsw: Fixing vlans init range Jiri Pirko
2016-01-06 12:01 ` [patch net-next v2 6/8] mlxsw: Renaming local variable names for consistency Jiri Pirko
2016-01-06 12:01 ` [patch net-next v2 7/8] mlxsw: Disable vlan_filtering for non .1D bridge Jiri Pirko
2016-01-06 12:01 ` [patch net-next v2 8/8] mlxsw: Remember untagged VLANs Jiri Pirko
2016-01-06 19:43 ` [patch net-next v2 0/8] mlxsw: add offload support for vlan_filtering option David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).