]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2cfc707f4e44f9e51fc3f5e35773f45d91925c9b
tree28719c98bfc97ca9645e0b244b5452678a39d08c
parent6ae95a80628aed8e7f8089259e9bda0d5f87415c
parentea17c11041f033b5cfc78138fbd7ec7222528e35
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>