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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sun,  6 Dec 2015 18:07:37 +0200
From:	Or Gerlitz <ogerlitz@...lanox.com>
To:	"David S. Miller" <davem@...emloft.net>
Cc:	netdev@...r.kernel.org, Tal Alon <talal@...lanox.com>,
	Majd Dibbiny <majd@...lanox.com>,
	Jack Morgenstein <jackm@....mellanox.co.il>,
	Moni Shoua <monis@...lanox.com>,
	Or Gerlitz <ogerlitz@...lanox.com>
Subject: [PATCH net-next 0/6] Add HA and LAG support for mlx4 SRIOV VFs

Hi Dave, 

This series is built upon the code added in commit ce388ff "Merge branch
'mlx4-next'" which added HA and LAG support to mlx4 RoCE and SRIOV services.

We add HA and Link Aggregation support to single ported mlx4 Ethernet VFs. 

In this case, the PF Ethernet interfaces are bonded, the VFs see single
port HW devices (already supported) -- however, now this port is highly
available. This means that all VF HW QPs (both VF Ethernet driver and VF
RoCE / RAW QPs) are subject to the V2P (Virtual-To-Physical) mapping which
is managed by the PF driver, and hence resilient across link failures and
such events.

When bonding operates in Dynamic link aggregation (802.3ad) mode, traffic
from each VF will go over the VF "base port" (the port this VF is assigned
to by the admin) as long as this port is up. When the port fails, traffic
from all VFs that are defined on this port will move to the other port, and
be back to their base-port when it recovers.

Moni and Or.

Moni Shoua (4):
  net/mlx4_core: Use both physical ports to dispatch link state events to VF
  net/mlx4_core: Support mirroring VF DMFS rules on both ports
  net/mlx4_core: Keep VLAN/MAC tables mirrored in multifunc HA mode
  net/mlx4_core: Support the HA mode for SRIOV VFs too

Or Gerlitz (2):
  net/mlx4_core: Use both physical ports to set the VF link state
  IB/mlx4: Use the VF base-port when demuxing mad from wire

 drivers/infiniband/hw/mlx4/mad.c                   |  17 +-
 drivers/net/ethernet/mellanox/mlx4/eq.c            |  24 +-
 drivers/net/ethernet/mellanox/mlx4/fw.c            |  12 +-
 drivers/net/ethernet/mellanox/mlx4/fw.h            |   1 +
 drivers/net/ethernet/mellanox/mlx4/main.c          | 107 +++-
 drivers/net/ethernet/mellanox/mlx4/mlx4.h          |   8 +
 drivers/net/ethernet/mellanox/mlx4/port.c          | 598 ++++++++++++++++++++-
 .../net/ethernet/mellanox/mlx4/resource_tracker.c  | 193 ++++++-
 include/linux/mlx4/driver.h                        |   5 +
 9 files changed, 915 insertions(+), 50 deletions(-)

-- 
2.3.7

--
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