netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch net-next 00/16] mlxsw: Add Infiniband support for Mellanox switches
@ 2016-10-28 19:17 Jiri Pirko
  2016-10-28 19:35 ` [patch net-next 01/16] mlxsw: core: Zero payload buffers for couple of registers Jiri Pirko
  2016-10-30 20:51 ` [patch net-next 00/16] mlxsw: Add Infiniband support for Mellanox switches David Miller
  0 siblings, 2 replies; 19+ messages in thread
From: Jiri Pirko @ 2016-10-28 19:17 UTC (permalink / raw)
  To: netdev; +Cc: davem, eladr, idosch, yotamg, nogahf, ogerlitz

From: Jiri Pirko <jiri@mellanox.com>

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.

Elad Raz (12):
  mlxsw: core: Zero payload buffers for couple of registers
  mlxsw: switchx2: Add support for physical port names
  mlxsw: switchx2: Fix port speed configuration
  mlxsw: reg: Add eth prefix to PTYS pack and unpack
  mlxsw: reg: Add Infiniband support to PTYS
  mlxsw: reg: Add local-port to Infiniband port mapping
  mlxsw: switchx2: Add Infiniband switch partition
  mlxsw: core: Add "eth" prefix to mlxsw_core_port_set
  mlxsw: core: Add port type (Eth/IB) set API
  mlxsw: switchx2: Add eth prefix to port create and remove
  mlxsw: switchx2: Add IB port support
  mlxsw: switchib: Introduce SwitchIB and SwitchIB silicon driver

Jiri Pirko (4):
  mlxsw: switchx2: Check if port is usable before calling port create
  mlxsw: switchx2: Move port used check outside port remove function
  mlxsw: spectrum: Move port used check outside port remove function
  mlxsw: Make devlink port instances independent of spectrum/switchx2
    port instances

 drivers/net/ethernet/mellanox/mlxsw/Kconfig      |  11 +
 drivers/net/ethernet/mellanox/mlxsw/Makefile     |   2 +
 drivers/net/ethernet/mellanox/mlxsw/core.c       | 123 ++++-
 drivers/net/ethernet/mellanox/mlxsw/core.h       |  32 +-
 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c |   4 +-
 drivers/net/ethernet/mellanox/mlxsw/ib.h         |  39 ++
 drivers/net/ethernet/mellanox/mlxsw/pci.h        |   2 +
 drivers/net/ethernet/mellanox/mlxsw/port.h       |   4 +
 drivers/net/ethernet/mellanox/mlxsw/reg.h        | 104 +++-
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c   |  95 ++--
 drivers/net/ethernet/mellanox/mlxsw/spectrum.h   |   1 -
 drivers/net/ethernet/mellanox/mlxsw/switchib.c   | 598 +++++++++++++++++++++++
 drivers/net/ethernet/mellanox/mlxsw/switchx2.c   | 380 +++++++++++---
 13 files changed, 1258 insertions(+), 137 deletions(-)
 create mode 100644 drivers/net/ethernet/mellanox/mlxsw/ib.h
 create mode 100644 drivers/net/ethernet/mellanox/mlxsw/switchib.c

-- 
2.5.5

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2016-10-30 21:23 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-28 19:17 [patch net-next 00/16] mlxsw: Add Infiniband support for Mellanox switches Jiri Pirko
2016-10-28 19:35 ` [patch net-next 01/16] mlxsw: core: Zero payload buffers for couple of registers Jiri Pirko
2016-10-28 19:35   ` [patch net-next 02/16] mlxsw: switchx2: Check if port is usable before calling port create Jiri Pirko
2016-10-28 19:35   ` [patch net-next 03/16] mlxsw: switchx2: Move port used check outside port remove function Jiri Pirko
2016-10-28 19:35   ` [patch net-next 04/16] mlxsw: spectrum: " Jiri Pirko
2016-10-28 19:35   ` [patch net-next 05/16] mlxsw: switchx2: Add support for physical port names Jiri Pirko
2016-10-28 19:35   ` [patch net-next 06/16] mlxsw: switchx2: Fix port speed configuration Jiri Pirko
2016-10-28 19:35   ` [patch net-next 07/16] mlxsw: reg: Add eth prefix to PTYS pack and unpack Jiri Pirko
2016-10-28 19:35   ` [patch net-next 08/16] mlxsw: reg: Add Infiniband support to PTYS Jiri Pirko
2016-10-28 19:35   ` [patch net-next 09/16] mlxsw: reg: Add local-port to Infiniband port mapping Jiri Pirko
2016-10-28 19:35   ` [patch net-next 10/16] mlxsw: Make devlink port instances independent of spectrum/switchx2 port instances Jiri Pirko
2016-10-28 19:35   ` [patch net-next 11/16] mlxsw: switchx2: Add Infiniband switch partition Jiri Pirko
2016-10-28 19:35   ` [patch net-next 12/16] mlxsw: core: Add "eth" prefix to mlxsw_core_port_set Jiri Pirko
2016-10-28 19:35   ` [patch net-next 13/16] mlxsw: core: Add port type (Eth/IB) set API Jiri Pirko
2016-10-28 19:35   ` [patch net-next 14/16] mlxsw: switchx2: Add eth prefix to port create and remove Jiri Pirko
2016-10-28 19:36   ` [patch net-next 15/16] mlxsw: switchx2: Add IB port support Jiri Pirko
2016-10-28 19:36   ` [patch net-next 16/16] mlxsw: switchib: Introduce SwitchIB and SwitchIB silicon driver Jiri Pirko
2016-10-30 20:51 ` [patch net-next 00/16] mlxsw: Add Infiniband support for Mellanox switches David Miller
2016-10-30 21:14   ` Jiri Pirko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).