diff mbox

[01/14] SIWv2: Kconfig and Makefile

Message ID 1308228106-22565-1-git-send-email-bmt@zurich.ibm.com
State RFC, archived
Delegated to: David Miller
Headers show

Commit Message

Bernard Metzler June 16, 2011, 12:41 p.m. UTC
---
 drivers/infiniband/Kconfig         |    1 +
 drivers/infiniband/Makefile        |    1 +
 drivers/infiniband/hw/siw/Kconfig  |   14 ++++++++++++++
 drivers/infiniband/hw/siw/Makefile |    5 +++++
 4 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 drivers/infiniband/hw/siw/Kconfig
 create mode 100644 drivers/infiniband/hw/siw/Makefile

Comments

Bart Van Assche June 18, 2011, 5:58 p.m. UTC | #1
On Thu, Jun 16, 2011 at 2:41 PM, Bernard Metzler <bmt@zurich.ibm.com> wrote:
> diff --git a/drivers/infiniband/hw/siw/Kconfig b/drivers/infiniband/hw/siw/Kconfig
> new file mode 100644
> index 0000000..6beff23
> --- /dev/null
> +++ b/drivers/infiniband/hw/siw/Kconfig
> @@ -0,0 +1,14 @@
> +config INFINIBAND_SOFTIWARP
> +       tristate "Software iWARP Stack (EXPERIMENTAL)"
> +       depends on INET && EXPERIMENTAL

No dependency on INFINIBAND ?

> +       ---help---
> +         Kernel Software Implementation of the iWARP protocol stack
> +
> +         This driver implements the iWARP protocol stack in software
> +         and interfaces with in-kernel TCP/IP as well as the OFED
> +         verbs interfaces.
> +
> +         Please send feedback to <bmt@zurich.ibm.com>.
> +
> +         To compile this driver as a module, choose M here: the module
> +         will be called siw.

Seems like a good idea to me to mention that an iWARP device is
created automatically to each Ethernet interface found at the time siw
is loaded.

Also, I think author information should be added to MAINTAINERS file
instead of Kconfig.

Bart.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig
index 0f9a84c..52097f6 100644
--- a/drivers/infiniband/Kconfig
+++ b/drivers/infiniband/Kconfig
@@ -51,6 +51,7 @@  source "drivers/infiniband/hw/cxgb3/Kconfig"
 source "drivers/infiniband/hw/cxgb4/Kconfig"
 source "drivers/infiniband/hw/mlx4/Kconfig"
 source "drivers/infiniband/hw/nes/Kconfig"
+source "drivers/infiniband/hw/siw/Kconfig"
 
 source "drivers/infiniband/ulp/ipoib/Kconfig"
 
diff --git a/drivers/infiniband/Makefile b/drivers/infiniband/Makefile
index 9cc7a47..c01a0d6 100644
--- a/drivers/infiniband/Makefile
+++ b/drivers/infiniband/Makefile
@@ -8,6 +8,7 @@  obj-$(CONFIG_INFINIBAND_CXGB3)		+= hw/cxgb3/
 obj-$(CONFIG_INFINIBAND_CXGB4)		+= hw/cxgb4/
 obj-$(CONFIG_MLX4_INFINIBAND)		+= hw/mlx4/
 obj-$(CONFIG_INFINIBAND_NES)		+= hw/nes/
+obj-$(CONFIG_INFINIBAND_SOFTIWARP)	+= hw/siw/
 obj-$(CONFIG_INFINIBAND_IPOIB)		+= ulp/ipoib/
 obj-$(CONFIG_INFINIBAND_SRP)		+= ulp/srp/
 obj-$(CONFIG_INFINIBAND_ISER)		+= ulp/iser/
diff --git a/drivers/infiniband/hw/siw/Kconfig b/drivers/infiniband/hw/siw/Kconfig
new file mode 100644
index 0000000..6beff23
--- /dev/null
+++ b/drivers/infiniband/hw/siw/Kconfig
@@ -0,0 +1,14 @@ 
+config INFINIBAND_SOFTIWARP
+	tristate "Software iWARP Stack (EXPERIMENTAL)"
+	depends on INET && EXPERIMENTAL
+	---help---
+	  Kernel Software Implementation of the iWARP protocol stack
+
+	  This driver implements the iWARP protocol stack in software
+	  and interfaces with in-kernel TCP/IP as well as the OFED
+	  verbs interfaces.
+
+	  Please send feedback to <bmt@zurich.ibm.com>.
+
+	  To compile this driver as a module, choose M here: the module
+	  will be called siw.
diff --git a/drivers/infiniband/hw/siw/Makefile b/drivers/infiniband/hw/siw/Makefile
new file mode 100644
index 0000000..234150a
--- /dev/null
+++ b/drivers/infiniband/hw/siw/Makefile
@@ -0,0 +1,5 @@ 
+obj-$(CONFIG_INFINIBAND_SOFTIWARP) += siw.o
+
+siw-y := siw_main.o siw_cm.o siw_verbs.o siw_obj.o \
+	siw_qp.o siw_qp_tx.o siw_qp_rx.o siw_cq.o siw_cm.o \
+	siw_debug.o siw_ae.o siw_mem.o