lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1450191827-6679-1-git-send-email-jiri@resnulli.us>
Date:	Tue, 15 Dec 2015 16:03:33 +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,
	gospo@...ulusnetworks.com, nikolay@...ulusnetworks.com,
	f.fainelli@...il.com, sfeldma@...il.com, john.fastabend@...il.com,
	roopa@...ulusnetworks.com, andrew@...n.ch, kaber@...sh.net,
	stephen@...workplumber.org
Subject: [patch net-next 00/14] mlxws: update driver to support offload of bridged vlan devices

From: Jiri Pirko <jiri@...lanox.com>

Ido Schimmel says:
        
====================
This patchset introduces support for the offloading of 802.1D bridges
between VLAN devices. These can either be VLAN devices configured on top
of the physical ports or on top of LAG devices.

Patches 1-2 deal with the necessary infrastructure changes needed in order
to enable the above. The main change is that switchdev drivers can now know
the device from which the switchdev op originated from.

Patches 3-10 lay the groundwork for 802.1D bridges support in the mlxsw
driver, with patch 4 doing most of the heavy lifting.

Patch 11 finally offloads these bridges to hardware by listening to the
notifications sent when the VLAN device joins or leaves a bridge. It is
very similar to the already existing 802.1Q bridge we support.

Patches 12-14 add minor modifications to allow one to bridge a VLAN device
configured on top of LAG.
====================

Signed-off-by: Jiri Pirko <jiri@...lanox.com>

Ido Schimmel (14):
  switchdev: vlan: Use switchdev_port* in vlan_netdev_ops
  switchdev: Pass original device to port netdev driver
  mlxsw: spectrum: Allocate active VLANs only for port netdevs
  mlxsw: spectrum: Split vFID range in two
  mlxsw: spectrum: Use appropriate parameter name
  mlxsw: spectrum: Add another flood table for vFIDs
  mlxsw: spectrum: Use FID instead of VID when accessing FDB
  mlxsw: spectrum: Adjust switchdev ops for VLAN devices
  mlxsw: spectrum: Adjust FDB notifications for VLAN devices
  mlxsw: spectrum: Handle VLAN devices linking / unlinking
  mlxsw: spectrum: Add support for VLAN devices bridging
  mlxsw: reg: Add lag_vid field to SFD register
  mlxsw: spectrum: Enable FDB records for VLAN devices on top of LAG
  mlxsw: spectrum: Add support for VLAN devices on top of LAG

 drivers/net/ethernet/mellanox/mlxsw/Kconfig        |   2 +-
 drivers/net/ethernet/mellanox/mlxsw/reg.h          |  22 +-
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c     | 774 ++++++++++++++++++---
 drivers/net/ethernet/mellanox/mlxsw/spectrum.h     | 102 ++-
 .../ethernet/mellanox/mlxsw/spectrum_switchdev.c   | 234 ++++++-
 include/net/switchdev.h                            |   2 +
 net/8021q/vlan_dev.c                               |   7 +
 net/bridge/br_fdb.c                                |   1 +
 net/bridge/br_stp.c                                |   2 +
 net/bridge/br_stp_if.c                             |   1 +
 net/bridge/br_vlan.c                               |   2 +
 net/core/net-sysfs.c                               |   1 +
 net/core/rtnetlink.c                               |   1 +
 net/switchdev/switchdev.c                          |  12 +
 14 files changed, 1001 insertions(+), 162 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

Powered by Openwall GNU/*/Linux Powered by OpenVZ