Add fcoe, fcoib drivers for mlx4 device
cover Add fcoe, fcoib drivers for mlx4 device
Hi Roland,
Thanks for your feedbacks for previous patch set. I reworked, rearranged order of the patches as suggested.
Please ignore the previous patch set. Here is the new one.
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/BLSmlx4_fcoib: driver implement fcoib initialization protocol to discover IB-FC gateways/bridges
mlx4: add/enable mlx4_core, mlx4_ib, mlx4_en to support fcoe/fcoib
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 | 9 + drivers/net/mlx4/fw.c | 13 + drivers/net/mlx4/intf.c | 19 + drivers/net/mlx4/main.c | 4 +- drivers/net/mlx4/mlx4.h | 1 + drivers/net/mlx4/mr.c | 140 ++- drivers/scsi/Kconfig | 22 + drivers/scsi/Makefile | 2 + drivers/scsi/mlx4_fc/Makefile | 8 + drivers/scsi/mlx4_fc/fcoib.h | 343 ++++++ drivers/scsi/mlx4_fc/fcoib_api.h | 61 + drivers/scsi/mlx4_fc/fcoib_discover.c | 1925 +++++++++++++++++++++++++++++++ drivers/scsi/mlx4_fc/fcoib_main.c | 1211 ++++++++++++++++++++ drivers/scsi/mlx4_fc/mfc.c | 2003 +++++++++++++++++++++++++++++++++ drivers/scsi/mlx4_fc/mfc.h | 666 +++++++++++ drivers/scsi/mlx4_fc/mfc_exch.c | 1496 ++++++++++++++++++++++++ drivers/scsi/mlx4_fc/mfc_rfci.c | 1001 ++++++++++++++++ drivers/scsi/mlx4_fc/mfc_sysfs.c | 244 ++++ include/linux/mlx4/device.h | 23 +- include/linux/mlx4/driver.h | 9 + include/rdma/ib_verbs.h | 10 +- 25 files changed, 9222 insertions(+), 31 deletions(-)
thanks
-vu