OSDN Git Service

Merge branch 'mlxsw-IB'
authorDavid S. Miller <davem@davemloft.net>
Sun, 30 Oct 2016 20:50:20 +0000 (16:50 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 30 Oct 2016 20:50:20 +0000 (16:50 -0400)
commit2701c3b39da291559449cb95af690eeb7c50e3b3
tree28719c98bfc97ca9645e0b244b5452678a39d08c
parent27058af401e49d88a905df000dd26f443fcfa8ce
parentd1ba52638456f20f81e9182b74d56ce036b39c6d
Merge branch 'mlxsw-IB'

Jiri Pirko says:

====================
mlxsw: Add Infiniband support for Mellanox switches

This patchset adds basic Infiniband support for SwitchX-2, Switch-IB
and Switch-IB-2 ASIC drivers.

SwitchX-2 ASIC is VPI capable, which means each port can be either
Ethernet or Infiniband. When the port is configured as Infiniband,
the Subnet Management Agent (SMA) is managed by the SwitchX-2 firmware
and not by the host. Port configuration, MTU and more are configured
remotely by the Subnet Manager (SM).

Usage:
        $ devlink port show
        pci/0000:03:00.0/1: type eth netdev eth0
        pci/0000:03:00.0/3: type eth netdev eth1
        pci/0000:03:00.0/5: type eth netdev eth2
        pci/0000:03:00.0/6: type eth netdev eth3
        pci/0000:03:00.0/8: type eth netdev eth4

        $ devlink port set pci/0000:03:00.0/1 type ib

        $ devlink port show
        pci/0000:03:00.0/1: type ib

Switch-IB (FDR) and Switch-IB-2 (EDR 100Gbs) ASICs are Infiniband-only
switches. The support provided in the mlxsw_switchib.ko driver is port
initialization only. The firmware running in the Silicon implements
the SMA.

Please note that this patchset does only very basic port initialization.
ib_device or RDMA implementations are not part of this patchset.
====================

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