diff mbox series

[for-next,v1,12/12] SIW addition to kernel build environment

Message ID 20190526114156.6827-13-bmt@zurich.ibm.com (mailing list archive)
State Superseded
Headers show
Series SIW: Software iWarp RDMA (siw) driver | expand

Commit Message

Bernard Metzler May 26, 2019, 11:41 a.m. UTC
Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com>
---
 MAINTAINERS                        |  7 +++++++
 drivers/infiniband/Kconfig         |  1 +
 drivers/infiniband/sw/Makefile     |  1 +
 drivers/infiniband/sw/siw/Kconfig  | 17 +++++++++++++++++
 drivers/infiniband/sw/siw/Makefile | 12 ++++++++++++
 5 files changed, 38 insertions(+)
 create mode 100644 drivers/infiniband/sw/siw/Kconfig
 create mode 100644 drivers/infiniband/sw/siw/Makefile

Comments

Gal Pressman May 26, 2019, 12:13 p.m. UTC | #1
On 26/05/2019 14:41, Bernard Metzler wrote:
> Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com>
> ---
>  MAINTAINERS                        |  7 +++++++
>  drivers/infiniband/Kconfig         |  1 +
>  drivers/infiniband/sw/Makefile     |  1 +
>  drivers/infiniband/sw/siw/Kconfig  | 17 +++++++++++++++++
>  drivers/infiniband/sw/siw/Makefile | 12 ++++++++++++
>  5 files changed, 38 insertions(+)
>  create mode 100644 drivers/infiniband/sw/siw/Kconfig
>  create mode 100644 drivers/infiniband/sw/siw/Makefile
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 5cfbea4ce575..3b437abffc39 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -14545,6 +14545,13 @@ M:	Chris Boot <bootc@bootc.net>
>  S:	Maintained
>  F:	drivers/leds/leds-net48xx.c
>  
> +SOFT-RDMA DRIVER (siw)

SOFT-RDMA or SOFT-IWARP RDMA?

> +M:	Bernard Metzler (bmt@zurich,ibm.com)

Should be a dot between zurich and ibm?

> +L:	linux-rdma@vger.kernel.org
> +S:	Supported
> +F:	drivers/infiniband/sw/rxe/
> +F:	include/uapi/rdma/siw-abi.h
> +
>  SOFT-ROCE DRIVER (rxe)
>  M:	Moni Shoua <monis@mellanox.com>
>  L:	linux-rdma@vger.kernel.org
> diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig
> index cbfbea49f126..2013ef848fd1 100644
> --- a/drivers/infiniband/Kconfig
> +++ b/drivers/infiniband/Kconfig
> @@ -107,6 +107,7 @@ source "drivers/infiniband/hw/hfi1/Kconfig"
>  source "drivers/infiniband/hw/qedr/Kconfig"
>  source "drivers/infiniband/sw/rdmavt/Kconfig"
>  source "drivers/infiniband/sw/rxe/Kconfig"
> +source "drivers/infiniband/sw/siw/Kconfig"
>  endif
>  
>  source "drivers/infiniband/ulp/ipoib/Kconfig"
> diff --git a/drivers/infiniband/sw/Makefile b/drivers/infiniband/sw/Makefile
> index 8b095b27db87..d37610fcbbc7 100644
> --- a/drivers/infiniband/sw/Makefile
> +++ b/drivers/infiniband/sw/Makefile
> @@ -1,2 +1,3 @@
>  obj-$(CONFIG_INFINIBAND_RDMAVT)		+= rdmavt/
>  obj-$(CONFIG_RDMA_RXE)			+= rxe/
> +obj-$(CONFIG_RDMA_SIW)			+= siw/
> diff --git a/drivers/infiniband/sw/siw/Kconfig b/drivers/infiniband/sw/siw/Kconfig
> new file mode 100644
> index 000000000000..94f684174ce3
> --- /dev/null
> +++ b/drivers/infiniband/sw/siw/Kconfig
> @@ -0,0 +1,17 @@
> +config RDMA_SIW
> +	tristate "Software RDMA over TCP/IP (iWARP) driver"
> +	depends on INET && INFINIBAND && CRYPTO_CRC32
> +	help
> +	This driver implements the iWARP RDMA transport over
> +	the Linux TCP/IP network stack. It enables a system with a
> +	standard Ethernet adapter to interoperate with a iWARP
> +	adapter or with another system running the SIW driver.
> +	(See also RXE which is a similar software driver for RoCE.)
> +
> +	The driver interfaces with the Linux RDMA stack and
> +	implements both a kernel and user space RDMA verbs API.
> +	The user space verbs API requires a support
> +	library named libsiw which is loaded by the generic user
> +	space verbs API, libibverbs. To implement RDMA over
> +	TCP/IP, the driver further interfaces with the Linux
> +	in-kernel TCP socket layer.
> diff --git a/drivers/infiniband/sw/siw/Makefile b/drivers/infiniband/sw/siw/Makefile
> new file mode 100644
> index 000000000000..ff190cb0d254
> --- /dev/null
> +++ b/drivers/infiniband/sw/siw/Makefile
> @@ -0,0 +1,12 @@
> +obj-$(CONFIG_RDMA_SIW) += siw.o
> +
> +siw-y := \
> +	siw_cm.o \
> +	siw_cq.o \
> +	siw_debug.o \
> +	siw_main.o \
> +	siw_mem.o \
> +	siw_qp.o \
> +	siw_qp_tx.o \
> +	siw_qp_rx.o \
> +	siw_verbs.o
>
Bernard Metzler May 26, 2019, 3:57 p.m. UTC | #2
-----"Gal Pressman" <galpress@amazon.com> wrote: -----

>To: "Bernard Metzler" <bmt@zurich.ibm.com>,
><linux-rdma@vger.kernel.org>
>From: "Gal Pressman" <galpress@amazon.com>
>Date: 05/26/2019 02:13PM
>Subject: [EXTERNAL] Re: [PATCH for-next v1 12/12] SIW addition to
>kernel build environment
>
>On 26/05/2019 14:41, Bernard Metzler wrote:
>> Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com>
>> ---
>>  MAINTAINERS                        |  7 +++++++
>>  drivers/infiniband/Kconfig         |  1 +
>>  drivers/infiniband/sw/Makefile     |  1 +
>>  drivers/infiniband/sw/siw/Kconfig  | 17 +++++++++++++++++
>>  drivers/infiniband/sw/siw/Makefile | 12 ++++++++++++
>>  5 files changed, 38 insertions(+)
>>  create mode 100644 drivers/infiniband/sw/siw/Kconfig
>>  create mode 100644 drivers/infiniband/sw/siw/Makefile
>> 
>> diff --git a/MAINTAINERS b/MAINTAINERS
>> index 5cfbea4ce575..3b437abffc39 100644
>> --- a/MAINTAINERS
>> +++ b/MAINTAINERS
>> @@ -14545,6 +14545,13 @@ M:	Chris Boot <bootc@bootc.net>
>>  S:	Maintained
>>  F:	drivers/leds/leds-net48xx.c
>>  
>> +SOFT-RDMA DRIVER (siw)
>
>SOFT-RDMA or SOFT-IWARP RDMA?

Yes, thanks, sure, it is SOFT-IWARP. 
>
>> +M:	Bernard Metzler (bmt@zurich,ibm.com)
>
>Should be a dot between zurich and ibm?
>
Of course....

Thanks a lot!
Bernard


>> +L:	linux-rdma@vger.kernel.org
>> +S:	Supported
>> +F:	drivers/infiniband/sw/rxe/
>> +F:	include/uapi/rdma/siw-abi.h
>> +
>>  SOFT-ROCE DRIVER (rxe)
>>  M:	Moni Shoua <monis@mellanox.com>
>>  L:	linux-rdma@vger.kernel.org
>> diff --git a/drivers/infiniband/Kconfig
>b/drivers/infiniband/Kconfig
>> index cbfbea49f126..2013ef848fd1 100644
>> --- a/drivers/infiniband/Kconfig
>> +++ b/drivers/infiniband/Kconfig
>> @@ -107,6 +107,7 @@ source "drivers/infiniband/hw/hfi1/Kconfig"
>>  source "drivers/infiniband/hw/qedr/Kconfig"
>>  source "drivers/infiniband/sw/rdmavt/Kconfig"
>>  source "drivers/infiniband/sw/rxe/Kconfig"
>> +source "drivers/infiniband/sw/siw/Kconfig"
>>  endif
>>  
>>  source "drivers/infiniband/ulp/ipoib/Kconfig"
>> diff --git a/drivers/infiniband/sw/Makefile
>b/drivers/infiniband/sw/Makefile
>> index 8b095b27db87..d37610fcbbc7 100644
>> --- a/drivers/infiniband/sw/Makefile
>> +++ b/drivers/infiniband/sw/Makefile
>> @@ -1,2 +1,3 @@
>>  obj-$(CONFIG_INFINIBAND_RDMAVT)		+= rdmavt/
>>  obj-$(CONFIG_RDMA_RXE)			+= rxe/
>> +obj-$(CONFIG_RDMA_SIW)			+= siw/
>> diff --git a/drivers/infiniband/sw/siw/Kconfig
>b/drivers/infiniband/sw/siw/Kconfig
>> new file mode 100644
>> index 000000000000..94f684174ce3
>> --- /dev/null
>> +++ b/drivers/infiniband/sw/siw/Kconfig
>> @@ -0,0 +1,17 @@
>> +config RDMA_SIW
>> +	tristate "Software RDMA over TCP/IP (iWARP) driver"
>> +	depends on INET && INFINIBAND && CRYPTO_CRC32
>> +	help
>> +	This driver implements the iWARP RDMA transport over
>> +	the Linux TCP/IP network stack. It enables a system with a
>> +	standard Ethernet adapter to interoperate with a iWARP
>> +	adapter or with another system running the SIW driver.
>> +	(See also RXE which is a similar software driver for RoCE.)
>> +
>> +	The driver interfaces with the Linux RDMA stack and
>> +	implements both a kernel and user space RDMA verbs API.
>> +	The user space verbs API requires a support
>> +	library named libsiw which is loaded by the generic user
>> +	space verbs API, libibverbs. To implement RDMA over
>> +	TCP/IP, the driver further interfaces with the Linux
>> +	in-kernel TCP socket layer.
>> diff --git a/drivers/infiniband/sw/siw/Makefile
>b/drivers/infiniband/sw/siw/Makefile
>> new file mode 100644
>> index 000000000000..ff190cb0d254
>> --- /dev/null
>> +++ b/drivers/infiniband/sw/siw/Makefile
>> @@ -0,0 +1,12 @@
>> +obj-$(CONFIG_RDMA_SIW) += siw.o
>> +
>> +siw-y := \
>> +	siw_cm.o \
>> +	siw_cq.o \
>> +	siw_debug.o \
>> +	siw_main.o \
>> +	siw_mem.o \
>> +	siw_qp.o \
>> +	siw_qp_tx.o \
>> +	siw_qp_rx.o \
>> +	siw_verbs.o
>> 
>
>
Bernard Metzler May 26, 2019, 4:03 p.m. UTC | #3
-----"Gal Pressman" <galpress@amazon.com> wrote: -----

>To: "Bernard Metzler" <bmt@zurich.ibm.com>,
><linux-rdma@vger.kernel.org>
>From: "Gal Pressman" <galpress@amazon.com>
>Date: 05/26/2019 02:13PM
>Subject: [EXTERNAL] Re: [PATCH for-next v1 12/12] SIW addition to
>kernel build environment
>
>On 26/05/2019 14:41, Bernard Metzler wrote:
>> Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com>
>> ---
>>  MAINTAINERS                        |  7 +++++++
>>  drivers/infiniband/Kconfig         |  1 +
>>  drivers/infiniband/sw/Makefile     |  1 +
>>  drivers/infiniband/sw/siw/Kconfig  | 17 +++++++++++++++++
>>  drivers/infiniband/sw/siw/Makefile | 12 ++++++++++++
>>  5 files changed, 38 insertions(+)
>>  create mode 100644 drivers/infiniband/sw/siw/Kconfig
>>  create mode 100644 drivers/infiniband/sw/siw/Makefile
>> 
>> diff --git a/MAINTAINERS b/MAINTAINERS
>> index 5cfbea4ce575..3b437abffc39 100644
>> --- a/MAINTAINERS
>> +++ b/MAINTAINERS
>> @@ -14545,6 +14545,13 @@ M:	Chris Boot <bootc@bootc.net>
>>  S:	Maintained
>>  F:	drivers/leds/leds-net48xx.c
>>  

Sorry, somewhat did put an 'EXTERNAL' blah into the
subject of your comment. Awesome. 

I'll try to avoid that subject changes in the future.
Sorry about that.

So, yes, SOFT-IWARP is the name of the thing
and bmt is reachable at zurich.ibm.com 

Thanks a lot,
Bernard.

>> +SOFT-RDMA DRIVER (siw)
>
>SOFT-RDMA or SOFT-IWARP RDMA?
>
>> +M:	Bernard Metzler (bmt@zurich,ibm.com)
>
>Should be a dot between zurich and ibm?
>
>> +L:	linux-rdma@vger.kernel.org
>> +S:	Supported
>> +F:	drivers/infiniband/sw/rxe/
>> +F:	include/uapi/rdma/siw-abi.h
>> +
>>  SOFT-ROCE DRIVER (rxe)
>>  M:	Moni Shoua <monis@mellanox.com>
>>  L:	linux-rdma@vger.kernel.org
>> diff --git a/drivers/infiniband/Kconfig
>b/drivers/infiniband/Kconfig
>> index cbfbea49f126..2013ef848fd1 100644
>> --- a/drivers/infiniband/Kconfig
>> +++ b/drivers/infiniband/Kconfig
>> @@ -107,6 +107,7 @@ source "drivers/infiniband/hw/hfi1/Kconfig"
>>  source "drivers/infiniband/hw/qedr/Kconfig"
>>  source "drivers/infiniband/sw/rdmavt/Kconfig"
>>  source "drivers/infiniband/sw/rxe/Kconfig"
>> +source "drivers/infiniband/sw/siw/Kconfig"
>>  endif
>>  
>>  source "drivers/infiniband/ulp/ipoib/Kconfig"
>> diff --git a/drivers/infiniband/sw/Makefile
>b/drivers/infiniband/sw/Makefile
>> index 8b095b27db87..d37610fcbbc7 100644
>> --- a/drivers/infiniband/sw/Makefile
>> +++ b/drivers/infiniband/sw/Makefile
>> @@ -1,2 +1,3 @@
>>  obj-$(CONFIG_INFINIBAND_RDMAVT)		+= rdmavt/
>>  obj-$(CONFIG_RDMA_RXE)			+= rxe/
>> +obj-$(CONFIG_RDMA_SIW)			+= siw/
>> diff --git a/drivers/infiniband/sw/siw/Kconfig
>b/drivers/infiniband/sw/siw/Kconfig
>> new file mode 100644
>> index 000000000000..94f684174ce3
>> --- /dev/null
>> +++ b/drivers/infiniband/sw/siw/Kconfig
>> @@ -0,0 +1,17 @@
>> +config RDMA_SIW
>> +	tristate "Software RDMA over TCP/IP (iWARP) driver"
>> +	depends on INET && INFINIBAND && CRYPTO_CRC32
>> +	help
>> +	This driver implements the iWARP RDMA transport over
>> +	the Linux TCP/IP network stack. It enables a system with a
>> +	standard Ethernet adapter to interoperate with a iWARP
>> +	adapter or with another system running the SIW driver.
>> +	(See also RXE which is a similar software driver for RoCE.)
>> +
>> +	The driver interfaces with the Linux RDMA stack and
>> +	implements both a kernel and user space RDMA verbs API.
>> +	The user space verbs API requires a support
>> +	library named libsiw which is loaded by the generic user
>> +	space verbs API, libibverbs. To implement RDMA over
>> +	TCP/IP, the driver further interfaces with the Linux
>> +	in-kernel TCP socket layer.
>> diff --git a/drivers/infiniband/sw/siw/Makefile
>b/drivers/infiniband/sw/siw/Makefile
>> new file mode 100644
>> index 000000000000..ff190cb0d254
>> --- /dev/null
>> +++ b/drivers/infiniband/sw/siw/Makefile
>> @@ -0,0 +1,12 @@
>> +obj-$(CONFIG_RDMA_SIW) += siw.o
>> +
>> +siw-y := \
>> +	siw_cm.o \
>> +	siw_cq.o \
>> +	siw_debug.o \
>> +	siw_main.o \
>> +	siw_mem.o \
>> +	siw_qp.o \
>> +	siw_qp_tx.o \
>> +	siw_qp_rx.o \
>> +	siw_verbs.o
>> 
>
>
Leon Romanovsky June 10, 2019, 7:36 a.m. UTC | #4
On Sun, May 26, 2019 at 01:41:56PM +0200, Bernard Metzler wrote:
> Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com>
> ---
>  MAINTAINERS                        |  7 +++++++
>  drivers/infiniband/Kconfig         |  1 +
>  drivers/infiniband/sw/Makefile     |  1 +
>  drivers/infiniband/sw/siw/Kconfig  | 17 +++++++++++++++++
>  drivers/infiniband/sw/siw/Makefile | 12 ++++++++++++
>  5 files changed, 38 insertions(+)
>  create mode 100644 drivers/infiniband/sw/siw/Kconfig
>  create mode 100644 drivers/infiniband/sw/siw/Makefile
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 5cfbea4ce575..3b437abffc39 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -14545,6 +14545,13 @@ M:	Chris Boot <bootc@bootc.net>
>  S:	Maintained
>  F:	drivers/leds/leds-net48xx.c
>
> +SOFT-RDMA DRIVER (siw)
> +M:	Bernard Metzler (bmt@zurich,ibm.com)

As Gal said "." in email and it should be <bmt@zurich.ibm.com>
and not (bmt@zurich,ibm.com)

> +L:	linux-rdma@vger.kernel.org
> +S:	Supported
> +F:	drivers/infiniband/sw/rxe/
> +F:	include/uapi/rdma/siw-abi.h
> +
>  SOFT-ROCE DRIVER (rxe)
>  M:	Moni Shoua <monis@mellanox.com>
>  L:	linux-rdma@vger.kernel.org
> diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig
> index cbfbea49f126..2013ef848fd1 100644
> --- a/drivers/infiniband/Kconfig
> +++ b/drivers/infiniband/Kconfig
> @@ -107,6 +107,7 @@ source "drivers/infiniband/hw/hfi1/Kconfig"
>  source "drivers/infiniband/hw/qedr/Kconfig"
>  source "drivers/infiniband/sw/rdmavt/Kconfig"
>  source "drivers/infiniband/sw/rxe/Kconfig"
> +source "drivers/infiniband/sw/siw/Kconfig"
>  endif
>
>  source "drivers/infiniband/ulp/ipoib/Kconfig"
> diff --git a/drivers/infiniband/sw/Makefile b/drivers/infiniband/sw/Makefile
> index 8b095b27db87..d37610fcbbc7 100644
> --- a/drivers/infiniband/sw/Makefile
> +++ b/drivers/infiniband/sw/Makefile
> @@ -1,2 +1,3 @@
>  obj-$(CONFIG_INFINIBAND_RDMAVT)		+= rdmavt/
>  obj-$(CONFIG_RDMA_RXE)			+= rxe/
> +obj-$(CONFIG_RDMA_SIW)			+= siw/
> diff --git a/drivers/infiniband/sw/siw/Kconfig b/drivers/infiniband/sw/siw/Kconfig
> new file mode 100644
> index 000000000000..94f684174ce3
> --- /dev/null
> +++ b/drivers/infiniband/sw/siw/Kconfig
> @@ -0,0 +1,17 @@
> +config RDMA_SIW
> +	tristate "Software RDMA over TCP/IP (iWARP) driver"
> +	depends on INET && INFINIBAND && CRYPTO_CRC32
> +	help
> +	This driver implements the iWARP RDMA transport over
> +	the Linux TCP/IP network stack. It enables a system with a
> +	standard Ethernet adapter to interoperate with a iWARP
> +	adapter or with another system running the SIW driver.
> +	(See also RXE which is a similar software driver for RoCE.)
> +
> +	The driver interfaces with the Linux RDMA stack and
> +	implements both a kernel and user space RDMA verbs API.
> +	The user space verbs API requires a support
> +	library named libsiw which is loaded by the generic user
> +	space verbs API, libibverbs. To implement RDMA over
> +	TCP/IP, the driver further interfaces with the Linux
> +	in-kernel TCP socket layer.
> diff --git a/drivers/infiniband/sw/siw/Makefile b/drivers/infiniband/sw/siw/Makefile
> new file mode 100644
> index 000000000000..ff190cb0d254
> --- /dev/null
> +++ b/drivers/infiniband/sw/siw/Makefile
> @@ -0,0 +1,12 @@
> +obj-$(CONFIG_RDMA_SIW) += siw.o
> +
> +siw-y := \
> +	siw_cm.o \
> +	siw_cq.o \
> +	siw_debug.o \
> +	siw_main.o \
> +	siw_mem.o \
> +	siw_qp.o \
> +	siw_qp_tx.o \
> +	siw_qp_rx.o \
> +	siw_verbs.o
> --
> 2.17.2
>
Bernard Metzler June 11, 2019, 3:24 p.m. UTC | #5
---
Bernard Metzler, PhD
Tech. Leader High Performance I/O, Principal Research Staff
IBM Zurich Research Laboratory
Saeumerstrasse 4
CH-8803 Rueschlikon, Switzerland
+41 44 724 8605

-----"Leon Romanovsky" <leon@kernel.org> wrote: -----

>To: "Bernard Metzler" <bmt@zurich.ibm.com>
>From: "Leon Romanovsky" <leon@kernel.org>
>Date: 06/10/2019 09:37AM
>Cc: linux-rdma@vger.kernel.org
>Subject: [EXTERNAL] Re: [PATCH for-next v1 12/12] SIW addition to
>kernel build environment
>
>On Sun, May 26, 2019 at 01:41:56PM +0200, Bernard Metzler wrote:
>> Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com>
>> ---
>>  MAINTAINERS                        |  7 +++++++
>>  drivers/infiniband/Kconfig         |  1 +
>>  drivers/infiniband/sw/Makefile     |  1 +
>>  drivers/infiniband/sw/siw/Kconfig  | 17 +++++++++++++++++
>>  drivers/infiniband/sw/siw/Makefile | 12 ++++++++++++
>>  5 files changed, 38 insertions(+)
>>  create mode 100644 drivers/infiniband/sw/siw/Kconfig
>>  create mode 100644 drivers/infiniband/sw/siw/Makefile
>>
>> diff --git a/MAINTAINERS b/MAINTAINERS
>> index 5cfbea4ce575..3b437abffc39 100644
>> --- a/MAINTAINERS
>> +++ b/MAINTAINERS
>> @@ -14545,6 +14545,13 @@ M:	Chris Boot <bootc@bootc.net>
>>  S:	Maintained
>>  F:	drivers/leds/leds-net48xx.c
>>
>> +SOFT-RDMA DRIVER (siw)
>> +M:	Bernard Metzler (bmt@zurich,ibm.com)
>
>As Gal said "." in email and it should be <bmt@zurich.ibm.com>
>and not (bmt@zurich,ibm.com)
>
right.

>> +L:	linux-rdma@vger.kernel.org
>> +S:	Supported
>> +F:	drivers/infiniband/sw/rxe/

ummh, and this shall be sw/siw ;)

>> +F:	include/uapi/rdma/siw-abi.h
>> +
>>  SOFT-ROCE DRIVER (rxe)
>>  M:	Moni Shoua <monis@mellanox.com>
>>  L:	linux-rdma@vger.kernel.org
>> diff --git a/drivers/infiniband/Kconfig
>b/drivers/infiniband/Kconfig
>> index cbfbea49f126..2013ef848fd1 100644
>> --- a/drivers/infiniband/Kconfig
>> +++ b/drivers/infiniband/Kconfig
>> @@ -107,6 +107,7 @@ source "drivers/infiniband/hw/hfi1/Kconfig"
>>  source "drivers/infiniband/hw/qedr/Kconfig"
>>  source "drivers/infiniband/sw/rdmavt/Kconfig"
>>  source "drivers/infiniband/sw/rxe/Kconfig"
>> +source "drivers/infiniband/sw/siw/Kconfig"
>>  endif
>>
>>  source "drivers/infiniband/ulp/ipoib/Kconfig"
>> diff --git a/drivers/infiniband/sw/Makefile
>b/drivers/infiniband/sw/Makefile
>> index 8b095b27db87..d37610fcbbc7 100644
>> --- a/drivers/infiniband/sw/Makefile
>> +++ b/drivers/infiniband/sw/Makefile
>> @@ -1,2 +1,3 @@
>>  obj-$(CONFIG_INFINIBAND_RDMAVT)		+= rdmavt/
>>  obj-$(CONFIG_RDMA_RXE)			+= rxe/
>> +obj-$(CONFIG_RDMA_SIW)			+= siw/
>> diff --git a/drivers/infiniband/sw/siw/Kconfig
>b/drivers/infiniband/sw/siw/Kconfig
>> new file mode 100644
>> index 000000000000..94f684174ce3
>> --- /dev/null
>> +++ b/drivers/infiniband/sw/siw/Kconfig
>> @@ -0,0 +1,17 @@
>> +config RDMA_SIW
>> +	tristate "Software RDMA over TCP/IP (iWARP) driver"
>> +	depends on INET && INFINIBAND && CRYPTO_CRC32
>> +	help
>> +	This driver implements the iWARP RDMA transport over
>> +	the Linux TCP/IP network stack. It enables a system with a
>> +	standard Ethernet adapter to interoperate with a iWARP
>> +	adapter or with another system running the SIW driver.
>> +	(See also RXE which is a similar software driver for RoCE.)
>> +
>> +	The driver interfaces with the Linux RDMA stack and
>> +	implements both a kernel and user space RDMA verbs API.
>> +	The user space verbs API requires a support
>> +	library named libsiw which is loaded by the generic user
>> +	space verbs API, libibverbs. To implement RDMA over
>> +	TCP/IP, the driver further interfaces with the Linux
>> +	in-kernel TCP socket layer.
>> diff --git a/drivers/infiniband/sw/siw/Makefile
>b/drivers/infiniband/sw/siw/Makefile
>> new file mode 100644
>> index 000000000000..ff190cb0d254
>> --- /dev/null
>> +++ b/drivers/infiniband/sw/siw/Makefile
>> @@ -0,0 +1,12 @@
>> +obj-$(CONFIG_RDMA_SIW) += siw.o
>> +
>> +siw-y := \
>> +	siw_cm.o \
>> +	siw_cq.o \
>> +	siw_debug.o \
>> +	siw_main.o \
>> +	siw_mem.o \
>> +	siw_qp.o \
>> +	siw_qp_tx.o \
>> +	siw_qp_rx.o \
>> +	siw_verbs.o
>> --
>> 2.17.2
>>
>
>
diff mbox series

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index 5cfbea4ce575..3b437abffc39 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -14545,6 +14545,13 @@  M:	Chris Boot <bootc@bootc.net>
 S:	Maintained
 F:	drivers/leds/leds-net48xx.c
 
+SOFT-RDMA DRIVER (siw)
+M:	Bernard Metzler (bmt@zurich,ibm.com)
+L:	linux-rdma@vger.kernel.org
+S:	Supported
+F:	drivers/infiniband/sw/rxe/
+F:	include/uapi/rdma/siw-abi.h
+
 SOFT-ROCE DRIVER (rxe)
 M:	Moni Shoua <monis@mellanox.com>
 L:	linux-rdma@vger.kernel.org
diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig
index cbfbea49f126..2013ef848fd1 100644
--- a/drivers/infiniband/Kconfig
+++ b/drivers/infiniband/Kconfig
@@ -107,6 +107,7 @@  source "drivers/infiniband/hw/hfi1/Kconfig"
 source "drivers/infiniband/hw/qedr/Kconfig"
 source "drivers/infiniband/sw/rdmavt/Kconfig"
 source "drivers/infiniband/sw/rxe/Kconfig"
+source "drivers/infiniband/sw/siw/Kconfig"
 endif
 
 source "drivers/infiniband/ulp/ipoib/Kconfig"
diff --git a/drivers/infiniband/sw/Makefile b/drivers/infiniband/sw/Makefile
index 8b095b27db87..d37610fcbbc7 100644
--- a/drivers/infiniband/sw/Makefile
+++ b/drivers/infiniband/sw/Makefile
@@ -1,2 +1,3 @@ 
 obj-$(CONFIG_INFINIBAND_RDMAVT)		+= rdmavt/
 obj-$(CONFIG_RDMA_RXE)			+= rxe/
+obj-$(CONFIG_RDMA_SIW)			+= siw/
diff --git a/drivers/infiniband/sw/siw/Kconfig b/drivers/infiniband/sw/siw/Kconfig
new file mode 100644
index 000000000000..94f684174ce3
--- /dev/null
+++ b/drivers/infiniband/sw/siw/Kconfig
@@ -0,0 +1,17 @@ 
+config RDMA_SIW
+	tristate "Software RDMA over TCP/IP (iWARP) driver"
+	depends on INET && INFINIBAND && CRYPTO_CRC32
+	help
+	This driver implements the iWARP RDMA transport over
+	the Linux TCP/IP network stack. It enables a system with a
+	standard Ethernet adapter to interoperate with a iWARP
+	adapter or with another system running the SIW driver.
+	(See also RXE which is a similar software driver for RoCE.)
+
+	The driver interfaces with the Linux RDMA stack and
+	implements both a kernel and user space RDMA verbs API.
+	The user space verbs API requires a support
+	library named libsiw which is loaded by the generic user
+	space verbs API, libibverbs. To implement RDMA over
+	TCP/IP, the driver further interfaces with the Linux
+	in-kernel TCP socket layer.
diff --git a/drivers/infiniband/sw/siw/Makefile b/drivers/infiniband/sw/siw/Makefile
new file mode 100644
index 000000000000..ff190cb0d254
--- /dev/null
+++ b/drivers/infiniband/sw/siw/Makefile
@@ -0,0 +1,12 @@ 
+obj-$(CONFIG_RDMA_SIW) += siw.o
+
+siw-y := \
+	siw_cm.o \
+	siw_cq.o \
+	siw_debug.o \
+	siw_main.o \
+	siw_mem.o \
+	siw_qp.o \
+	siw_qp_tx.o \
+	siw_qp_rx.o \
+	siw_verbs.o