]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlx4-next'
authorDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2015 00:14:29 +0000 (16:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2015 00:14:29 +0000 (16:14 -0800)
commit1b35a41172779dd5178da359d45d8482fe25053c
tree93990685d6fdba0784d68bf5ca0dbf523c930bb4
parentb9c4603334cee4b2dab27f8de2cfc9ee72a3b903
parent92ce16a6d7608acfe44fd5575ef51967485846d8
Merge branch 'mlx4-next'

Or Gerlitz says:

====================
Add HA and LAG support to mlx4 RoCE and SRIOV services

This series takes advanges of bonding mlx4 Ethernet devices to support
a model of High-Availability and Link Aggregation for more environments.

The mlx4 driver reacts on netdev events generated by bonding when
slave state changes happen by programming a HW V2P (Virt-to-Phys)
port table. Bonding was extended to expose these state changes
through netdev events.

When an mlx4 interface such as the mlx4 IB/RoCE driver is subject to
this policy, QPs are created over virtual ports which are mapped
to one of the two physical ports. When a failure happens, the
re-programming of the V2P table allows traffic to keep flowing.

The mlx4 Ethernet driver interfaces are not subject to this
policy and act as usual.

A 2nd use-case for this model would be to add HA and Link Aggregation
support to single ported mlx4 Ethernet VFs. In this case, the PF Ethernet
intrfaces are bonded, all the VFs see single port devices (which is
supported already today), and VF QPs are subject to V2P.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>