From patchwork Mon Aug 16 22:17:05 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vu Pham X-Patchwork-Id: 119820 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o7GMQ1b9012131 for ; Mon, 16 Aug 2010 22:26:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756747Ab0HPW0J (ORCPT ); Mon, 16 Aug 2010 18:26:09 -0400 Received: from p02c12o141.mxlogic.net ([208.65.145.74]:34075 "EHLO p02c12o141.mxlogic.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756691Ab0HPW0I (ORCPT ); Mon, 16 Aug 2010 18:26:08 -0400 Received: from unknown [63.251.237.3] (EHLO p02c12o141.mxlogic.net) by p02c12o141.mxlogic.net(mxl_mta-6.7.0-0) with ESMTP id 00bb96c4.2aaac6603940.97478.00-544.225996.p02c12o141.mxlogic.net (envelope-from ); Mon, 16 Aug 2010 16:26:08 -0600 (MDT) X-MXL-Hash: 4c69bb005b365b28-6293f41417981987f94f20b8f7e59f9e7332d24c Received: from unknown [63.251.237.3] (EHLO mtiexch01.mti.com) by p02c12o141.mxlogic.net(mxl_mta-6.7.0-0) with ESMTP id fd8b96c4.0.95629.00-281.221174.p02c12o141.mxlogic.net (envelope-from ); Mon, 16 Aug 2010 16:17:05 -0600 (MDT) X-MXL-Hash: 4c69b8e118bcd8fb-87d382d1589d2de7cf26cd164830435f397f21f3 Received: from vu-lt.mti.mtl.com ([10.2.1.17]) by mtiexch01.mti.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 16 Aug 2010 15:21:29 -0700 Message-ID: <4C69B8E1.80702@mellanox.com> Date: Mon, 16 Aug 2010 15:17:05 -0700 From: Vu Pham User-Agent: Thunderbird 2.0.0.23 (X11/20090812) MIME-Version: 1.0 To: Roland Dreier CC: OpenFabrics EWG , Linux RDMA , Linux SCSI Subject: [PATCH v1 10/10] mlx4_fc: Enable FC over Ethernet/Infiniband drivers X-OriginalArrivalTime: 16 Aug 2010 22:21:29.0046 (UTC) FILETIME=[5F68FF60:01CB3D91] X-Spam: [F=0.2000000000; CM=0.500; S=0.200(2010073001)] X-MAIL-FROM: X-SOURCE-IP: [63.251.237.3] X-AnalysisOut: [v=1.0 c=1 a=BrcSeZXFjdcA:10 a=VphdPIyG4kEA:10 a=xupnbh4h0Y] X-AnalysisOut: [LOHZnncC45HQ==:17 a=37r9H06TAAAA:8 a=CbDCq_QkAAAA:8 a=Ht_h] X-AnalysisOut: [3pkiodYHelfBC3oA:9 a=1QSh_Rx_Nlk5hP1AE08h3yp6pccA:4 a=E3yz] X-AnalysisOut: [0KKPV6YA:10] Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 16 Aug 2010 22:26:11 +0000 (UTC) From 17b0c5412e085e1f288c05cb667ec36e4a05c59b Mon Sep 17 00:00:00 2001 From: Vu Pham Date: Mon, 16 Aug 2010 14:48:01 -0700 Subject: [PATCH 10/10] mlx4_fc: Enable FC over Ethernet/Infiniband drivers Add entries in scsi's Kconfig and Makefile to enable mlx4_fc (fcoe/fcoib offload driver) and mlx4_fcoib (FIP-alike discovery driver) Signed-off-by: Vu Pham --- drivers/scsi/Kconfig | 22 ++++++++++++++++++++++ drivers/scsi/Makefile | 2 ++ 2 files changed, 24 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 158284f..3573cee 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig @@ -687,6 +687,28 @@ config FCOE_FNIC . The module will be called fnic. +config MLX4_FC + tristate "Mellanox FC module" + depends on MLX4_EN + select LIBFC + select LIBFCOE + help + Fibre Channel over Ethernet/Infiniband module + + This is support for the Mellanox ConnectX/ConnectX-2 HCAs + The module will be called mlx4_fc + +config MLX4_FCOIB + tristate "Mellanox FCoIB discovery module" + depends on INFINIBAND + select MLX4_FC + help + Fibre Channel over Infiniband discovery module + + The module FIP-alike to discover BridgeX gateways in the + Infiniband fabric + The module will be called mlx4_fc + config SCSI_DMX3191D tristate "DMX3191D SCSI support" depends on PCI && SCSI diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile index 2a3fca2..0d0dab7 100644 --- a/drivers/scsi/Makefile +++ b/drivers/scsi/Makefile @@ -40,6 +40,8 @@ obj-$(CONFIG_LIBFC) += libfc/ obj-$(CONFIG_LIBFCOE) += fcoe/ obj-$(CONFIG_FCOE) += fcoe/ obj-$(CONFIG_FCOE_FNIC) += fnic/ +obj-$(CONFIG_MLX4_FC) += mlx4_fc/ +obj-$(CONFIG_MLX4_FCOIB) += mlx4_fc/ obj-$(CONFIG_ISCSI_TCP) += libiscsi.o libiscsi_tcp.o iscsi_tcp.o obj-$(CONFIG_INFINIBAND_ISER) += libiscsi.o obj-$(CONFIG_SCSI_A4000T) += 53c700.o a4000t.o -- 1.6.3.3