diff mbox series

[rdma-next,v2,11/11] RDMA/efa: Add driver to Kconfig/Makefile

Message ID 1550763193-14128-12-git-send-email-galpress@amazon.com (mailing list archive)
State Superseded
Headers show
Series RDMA/efa: Elastic Fabric Adapter (EFA) driver | expand

Commit Message

Gal Pressman Feb. 21, 2019, 3:33 p.m. UTC
Add EFA Makefile and Kconfig.

Signed-off-by: Gal Pressman <galpress@amazon.com>
---
 MAINTAINERS                        |  8 ++++++++
 drivers/infiniband/Kconfig         |  1 +
 drivers/infiniband/hw/Makefile     |  1 +
 drivers/infiniband/hw/efa/Kconfig  | 15 +++++++++++++++
 drivers/infiniband/hw/efa/Makefile |  9 +++++++++
 5 files changed, 34 insertions(+)
 create mode 100644 drivers/infiniband/hw/efa/Kconfig
 create mode 100644 drivers/infiniband/hw/efa/Makefile

Comments

Steve Wise Feb. 26, 2019, 9:49 p.m. UTC | #1
On 2/21/2019 9:33 AM, Gal Pressman wrote:
> Add EFA Makefile and Kconfig.
>
> Signed-off-by: Gal Pressman <galpress@amazon.com>
> ---
>  MAINTAINERS                        |  8 ++++++++
>  drivers/infiniband/Kconfig         |  1 +
>  drivers/infiniband/hw/Makefile     |  1 +
>  drivers/infiniband/hw/efa/Kconfig  | 15 +++++++++++++++
>  drivers/infiniband/hw/efa/Makefile |  9 +++++++++
>  5 files changed, 34 insertions(+)
>  create mode 100644 drivers/infiniband/hw/efa/Kconfig
>  create mode 100644 drivers/infiniband/hw/efa/Makefile
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 8c68de3cfd80..415c6070ec02 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -743,6 +743,14 @@ S:	Supported
>  F:	Documentation/networking/device_drivers/amazon/ena.txt
>  F:	drivers/net/ethernet/amazon/
>  
> +AMAZON RDMA EFA DRIVER
> +M:	Gal Pressman <galpress@amazon.com>
> +R:	Yossi Leybovich <sleybo@amazon.com>
> +L:	linux-rdma@vger.kernel.org
> +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@amd.com>
>  M:	Gary Hook <gary.hook@amd.com>
> diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig
> index a1fb840de45d..b48496868926 100644
> --- a/drivers/infiniband/Kconfig
> +++ b/drivers/infiniband/Kconfig
> @@ -105,6 +105,7 @@ source "drivers/infiniband/hw/hns/Kconfig"
>  source "drivers/infiniband/hw/bnxt_re/Kconfig"
>  source "drivers/infiniband/hw/hfi1/Kconfig"
>  source "drivers/infiniband/hw/qedr/Kconfig"
> +source "drivers/infiniband/hw/efa/Kconfig"
>  source "drivers/infiniband/sw/rdmavt/Kconfig"
>  source "drivers/infiniband/sw/rxe/Kconfig"
>  endif
> 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..457e18ba1d57
> --- /dev/null
> +++ b/drivers/infiniband/hw/efa/Kconfig
> @@ -0,0 +1,15 @@
> +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
> +# Copyright 2018-2019 Amazon.com, Inc. or its affiliates. All rights reserved.
> +#
> +# 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..6e83083af0bc
> --- /dev/null
> +++ b/drivers/infiniband/hw/efa/Makefile
> @@ -0,0 +1,9 @@
> +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
> +# Copyright 2018-2019 Amazon.com, Inc. or its affiliates. All rights reserved.
> +#
> +# Makefile for Amazon Elastic Fabric Adapter (EFA) device driver.
> +#
> +
> +obj-$(CONFIG_INFINIBAND_EFA) += efa.o
> +
> +efa-y := efa_com_cmd.o efa_com.o efa_main.o efa_verbs.o


Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Gal Pressman Feb. 27, 2019, 8:46 a.m. UTC | #2
On 26-Feb-19 23:49, Steve Wise wrote:
> 
> On 2/21/2019 9:33 AM, Gal Pressman wrote:
>> Add EFA Makefile and Kconfig.
>>
>> Signed-off-by: Gal Pressman <galpress@amazon.com>
>> ---
>>  MAINTAINERS                        |  8 ++++++++
>>  drivers/infiniband/Kconfig         |  1 +
>>  drivers/infiniband/hw/Makefile     |  1 +
>>  drivers/infiniband/hw/efa/Kconfig  | 15 +++++++++++++++
>>  drivers/infiniband/hw/efa/Makefile |  9 +++++++++
>>  5 files changed, 34 insertions(+)
>>  create mode 100644 drivers/infiniband/hw/efa/Kconfig
>>  create mode 100644 drivers/infiniband/hw/efa/Makefile
>>
>> diff --git a/MAINTAINERS b/MAINTAINERS
>> index 8c68de3cfd80..415c6070ec02 100644
>> --- a/MAINTAINERS
>> +++ b/MAINTAINERS
>> @@ -743,6 +743,14 @@ S:	Supported
>>  F:	Documentation/networking/device_drivers/amazon/ena.txt
>>  F:	drivers/net/ethernet/amazon/
>>  
>> +AMAZON RDMA EFA DRIVER
>> +M:	Gal Pressman <galpress@amazon.com>
>> +R:	Yossi Leybovich <sleybo@amazon.com>
>> +L:	linux-rdma@vger.kernel.org
>> +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@amd.com>
>>  M:	Gary Hook <gary.hook@amd.com>
>> diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig
>> index a1fb840de45d..b48496868926 100644
>> --- a/drivers/infiniband/Kconfig
>> +++ b/drivers/infiniband/Kconfig
>> @@ -105,6 +105,7 @@ source "drivers/infiniband/hw/hns/Kconfig"
>>  source "drivers/infiniband/hw/bnxt_re/Kconfig"
>>  source "drivers/infiniband/hw/hfi1/Kconfig"
>>  source "drivers/infiniband/hw/qedr/Kconfig"
>> +source "drivers/infiniband/hw/efa/Kconfig"
>>  source "drivers/infiniband/sw/rdmavt/Kconfig"
>>  source "drivers/infiniband/sw/rxe/Kconfig"
>>  endif
>> 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..457e18ba1d57
>> --- /dev/null
>> +++ b/drivers/infiniband/hw/efa/Kconfig
>> @@ -0,0 +1,15 @@
>> +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
>> +# Copyright 2018-2019 Amazon.com, Inc. or its affiliates. All rights reserved.
>> +#
>> +# 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..6e83083af0bc
>> --- /dev/null
>> +++ b/drivers/infiniband/hw/efa/Makefile
>> @@ -0,0 +1,9 @@
>> +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
>> +# Copyright 2018-2019 Amazon.com, Inc. or its affiliates. All rights reserved.
>> +#
>> +# Makefile for Amazon Elastic Fabric Adapter (EFA) device driver.
>> +#
>> +
>> +obj-$(CONFIG_INFINIBAND_EFA) += efa.o
>> +
>> +efa-y := efa_com_cmd.o efa_com.o efa_main.o efa_verbs.o
> 
> 
> Reviewed-by: Steve Wise <swise@opengridcomputing.com>

Thanks Steve!
diff mbox series

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index 8c68de3cfd80..415c6070ec02 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -743,6 +743,14 @@  S:	Supported
 F:	Documentation/networking/device_drivers/amazon/ena.txt
 F:	drivers/net/ethernet/amazon/
 
+AMAZON RDMA EFA DRIVER
+M:	Gal Pressman <galpress@amazon.com>
+R:	Yossi Leybovich <sleybo@amazon.com>
+L:	linux-rdma@vger.kernel.org
+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@amd.com>
 M:	Gary Hook <gary.hook@amd.com>
diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig
index a1fb840de45d..b48496868926 100644
--- a/drivers/infiniband/Kconfig
+++ b/drivers/infiniband/Kconfig
@@ -105,6 +105,7 @@  source "drivers/infiniband/hw/hns/Kconfig"
 source "drivers/infiniband/hw/bnxt_re/Kconfig"
 source "drivers/infiniband/hw/hfi1/Kconfig"
 source "drivers/infiniband/hw/qedr/Kconfig"
+source "drivers/infiniband/hw/efa/Kconfig"
 source "drivers/infiniband/sw/rdmavt/Kconfig"
 source "drivers/infiniband/sw/rxe/Kconfig"
 endif
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..457e18ba1d57
--- /dev/null
+++ b/drivers/infiniband/hw/efa/Kconfig
@@ -0,0 +1,15 @@ 
+# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
+# Copyright 2018-2019 Amazon.com, Inc. or its affiliates. All rights reserved.
+#
+# 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..6e83083af0bc
--- /dev/null
+++ b/drivers/infiniband/hw/efa/Makefile
@@ -0,0 +1,9 @@ 
+# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
+# Copyright 2018-2019 Amazon.com, Inc. or its affiliates. All rights reserved.
+#
+# Makefile for Amazon Elastic Fabric Adapter (EFA) device driver.
+#
+
+obj-$(CONFIG_INFINIBAND_EFA) += efa.o
+
+efa-y := efa_com_cmd.o efa_com.o efa_main.o efa_verbs.o