[PATCH rdma-next 13/13] RDMA/efa: Add driver to Kconfig/Makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add EFA Makefile and Kconfig.

Signed-off-by: Gal Pressman <galpress@xxxxxxxxxx>
---
 MAINTAINERS                        |  8 ++++++++
 drivers/infiniband/Kconfig         |  2 ++
 drivers/infiniband/hw/Makefile     |  1 +
 drivers/infiniband/hw/efa/Kconfig  | 14 ++++++++++++++
 drivers/infiniband/hw/efa/Makefile |  8 ++++++++
 5 files changed, 33 insertions(+)
 create mode 100644 drivers/infiniband/hw/efa/Kconfig
 create mode 100644 drivers/infiniband/hw/efa/Makefile

diff --git a/MAINTAINERS b/MAINTAINERS
index f4855974f325..65755d2a404f 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -742,6 +742,14 @@ S:	Supported
 F:	Documentation/networking/ena.txt
 F:	drivers/net/ethernet/amazon/
 
+AMAZON RDMA EFA DRIVER
+M:	Gal Pressman <galpress@xxxxxxxxxx>
+R:	Yossi Leybovich <sleybo@xxxxxxxxxx>
+L:	linux-rdma@xxxxxxxxxxxxxxx
+Q:	https://patchwork.kernel.org/project/linux-rdma/list/
+S:	Supported
+F:	drivers/infiniband/hw/efa/
+
 AMD CRYPTOGRAPHIC COPROCESSOR (CCP) DRIVER
 M:	Tom Lendacky <thomas.lendacky@xxxxxxx>
 M:	Gary Hook <gary.hook@xxxxxxx>
diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig
index 0a3ec7c726ec..ddfeb94f67a9 100644
--- a/drivers/infiniband/Kconfig
+++ b/drivers/infiniband/Kconfig
@@ -120,4 +120,6 @@ source "drivers/infiniband/hw/qedr/Kconfig"
 
 source "drivers/infiniband/hw/bnxt_re/Kconfig"
 
+source "drivers/infiniband/hw/efa/Kconfig"
+
 endif # INFINIBAND
diff --git a/drivers/infiniband/hw/Makefile b/drivers/infiniband/hw/Makefile
index e4f31c1be8f7..06ad3c26fc94 100644
--- a/drivers/infiniband/hw/Makefile
+++ b/drivers/infiniband/hw/Makefile
@@ -14,3 +14,4 @@ obj-$(CONFIG_INFINIBAND_HFI1)		+= hfi1/
 obj-$(CONFIG_INFINIBAND_HNS)		+= hns/
 obj-$(CONFIG_INFINIBAND_QEDR)		+= qedr/
 obj-$(CONFIG_INFINIBAND_BNXT_RE)	+= bnxt_re/
+obj-$(CONFIG_INFINIBAND_EFA)		+= efa/
diff --git a/drivers/infiniband/hw/efa/Kconfig b/drivers/infiniband/hw/efa/Kconfig
new file mode 100644
index 000000000000..3d6489e05be4
--- /dev/null
+++ b/drivers/infiniband/hw/efa/Kconfig
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
+#
+# Amazon fabric device configuration
+#
+
+config INFINIBAND_EFA
+	tristate "Amazon Elastic Fabric Adapter (EFA) support"
+	depends on PCI_MSI && 64BIT && !CPU_BIG_ENDIAN
+	depends on INFINIBAND_USER_ACCESS
+	help
+	  This driver supports Amazon Elastic Fabric Adapter (EFA).
+
+	  To compile this driver as a module, choose M here.
+	  The module will be called efa.
diff --git a/drivers/infiniband/hw/efa/Makefile b/drivers/infiniband/hw/efa/Makefile
new file mode 100644
index 000000000000..002979977d9b
--- /dev/null
+++ b/drivers/infiniband/hw/efa/Makefile
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
+#
+# Makefile for Amazon Elastic Fabric Adapter (EFA) device drivers.
+#
+
+obj-$(CONFIG_INFINIBAND_EFA) += efa.o
+
+efa-y := efa_bitmap.o efa_com_cmd.o efa_com.o efa_main.o efa_verbs.o
-- 
2.7.4




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux