Skip to content

Add fcoe, fcoib drivers for mlx4 device

Vu Pham linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10pre-reserve MPTs for FCdrivers/net/mlx4/main.c drivers/net/mlx4/mr.c include/linux/mlx4/device.h +1 more+135 -190 replies
2/10api to query mlx4_en device for given mlx4 devicedrivers/net/mlx4/en_main.c drivers/net/mlx4/intf.c include/linux/mlx4/driver.h+51 -00 replies
3/10attach cq to least cqs attached completion vectordrivers/infiniband/hw/mlx4/cq.c drivers/net/mlx4/cq.c drivers/net/mlx4/en_cq.c +3 more+39 -70 replies
4/10remove default reservation of fexch qps and mptsdrivers/net/mlx4/main.c drivers/net/mlx4/mr.c include/linux/mlx4/device.h+26 -140 replies
5/10query ib device from given mlx4 devicedrivers/infiniband/hw/mlx4/main.c drivers/net/mlx4/intf.c drivers/net/mlx4/main.c +2 more+46 -10 replies
6/10enable T11 bit for mlx4 devicedrivers/net/mlx4/fw.c include/linux/mlx4/device.h+17 -10 replies
7/10query the steer capabilities of mlx4 deviceinclude/linux/mlx4/device.h+8 -00 replies
8/10enable vlan support in mlx4 qp pathinclude/linux/mlx4/qp.h+1 -10 replies
9/10enable mlx4_fc, mlx4_fcoib in scsi Kconfig, makefiledrivers/scsi/Kconfig drivers/scsi/Makefile+16 -00 replies
10/10add mlx4_fc, mlx4_fcoib implementation to driver/scsidrivers/scsi/mlx4_fc/Makefile drivers/scsi/mlx4_fc/fcoib.h drivers/scsi/mlx4_fc/fcoib_api.h +7 more+9403 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] Add fcoe, fcoib drivers for mlx4 device

Hi Roland,

The following series implements fcoe and fcoib offload driver for mlx4 device

mlx4_fc: implement fcoe/fcoib, hook to scsi mid-layer to offload scsi operations, and use openfc's libfc to do ELS/BLS
mlx4_fcoib: driver implement fcoib initialization protocol to discover IB-FC gateways/bridges

Yevgeny Petrilin:
Pre-reserve MTPs for FC
Attach cq to the least cqs attached completion vector Enable T11 bit support in fw
Add API to query the steer capabilities of mlx4 device

Oren Duer:
Add APIs to mlx4_en/mlx4_ib driver to query interfaces for given
internal device
Add MPT reserve/release_range APIs

Vu Pham:
Enable vlan support in qp path
Enable mlx4_fc/mlx4_fcoib driver in scsi Kconfig/Makefile Add mlx4_fc/mlx4_fcoib drivers

 drivers/infiniband/hw/mlx4/cq.c       |    4 +-
 drivers/infiniband/hw/mlx4/main.c     |   10 +-
 drivers/net/mlx4/cq.c                 |   27 +-
 drivers/net/mlx4/en_cq.c              |    2 +-
 drivers/net/mlx4/en_main.c            |   14 +
 drivers/net/mlx4/fw.c                 |   13 +
 drivers/net/mlx4/intf.c               |   50 +
 drivers/net/mlx4/main.c               |   10 +-
 drivers/net/mlx4/mlx4.h               |    2 +
 drivers/net/mlx4/mr.c                 |   29 +-
 drivers/scsi/Kconfig                  |   14 +
 drivers/scsi/Makefile                 |    2 +
 drivers/scsi/mlx4_fc/Makefile         |    8 +
 drivers/scsi/mlx4_fc/fcoib.h          |  561 +++++++++
 drivers/scsi/mlx4_fc/fcoib_api.h      |  102 ++
 drivers/scsi/mlx4_fc/fcoib_discover.c | 2003 
+++++++++++++++++++++++++++++++++
 drivers/scsi/mlx4_fc/fcoib_main.c     | 1340 ++++++++++++++++++++++
 drivers/scsi/mlx4_fc/mfc.c            | 1992 
++++++++++++++++++++++++++++++++
 drivers/scsi/mlx4_fc/mfc.h            |  662 +++++++++++
 drivers/scsi/mlx4_fc/mfc_exch.c       | 1502 ++++++++++++++++++++++++
 drivers/scsi/mlx4_fc/mfc_rfci.c       |  990 ++++++++++++++++
 drivers/scsi/mlx4_fc/mfc_sysfs.c      |  243 ++++
 include/linux/mlx4/device.h           |   20 +-
 include/linux/mlx4/driver.h           |   17 +
 include/linux/mlx4/qp.h               |    2 +-
 include/rdma/ib_verbs.h               |   10 +-
 26 files changed, 9606 insertions(+), 23 deletions(-)