From: Ajaykumar Hotchandani Date: Thu, 22 Jan 2015 05:03:28 +0000 (-0800) Subject: RDS: Kconfig and Makefile changes X-Git-Tag: v4.1.12-92~319^2^2~2^2~5 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=05439ed237ec18748dc97e7ef73cb6f64bc106f0;p=users%2Fjedix%2Flinux-maple.git RDS: Kconfig and Makefile changes Signed-off-by: Ajaykumar Hotchandani --- diff --git a/net/rds/Kconfig b/net/rds/Kconfig index d6679c854a9cb..f2c670ba7b9b2 100644 --- a/net/rds/Kconfig +++ b/net/rds/Kconfig @@ -1,15 +1,15 @@ config RDS - tristate "Reliable Datagram Sockets (RDS) (EXPERIMENTAL)" - depends on INET && INFINIBAND_IPOIB && EXPERIMENTAL - depends on INFINIBAND && INFINIBAND_ADDR_TRANS + tristate "The RDS Protocol" + depends on INET ---help--- - RDS provides reliable, sequenced delivery of datagrams - over Infiniband. + The RDS (Reliable Datagram Sockets) protocol provides reliable, + sequenced delivery of datagrams over Infiniband, iWARP, + or TCP. config RDS_RDMA tristate "RDS over Infiniband and iWARP" - depends on RDS && INFINIBAND_ADDR_TRANS + depends on RDS && INFINIBAND && INFINIBAND_ADDR_TRANS ---help--- Allow RDS to use Infiniband and iWARP as a transport. This transport supports RDMA operations. @@ -22,7 +22,7 @@ config RDS_TCP This transport does not support RDMA operations. config RDS_DEBUG - bool "Debugging messages" + bool "RDS debugging messages" depends on RDS default n diff --git a/net/rds/Makefile b/net/rds/Makefile index b46eca109688b..56d3f6023ced4 100644 --- a/net/rds/Makefile +++ b/net/rds/Makefile @@ -4,7 +4,7 @@ rds-y := af_rds.o bind.o cong.o connection.o info.o message.o \ loop.o page.o rdma.o obj-$(CONFIG_RDS_RDMA) += rds_rdma.o -rds_rdma-objs := rdma_transport.o \ +rds_rdma-y := rdma_transport.o \ ib.o ib_cm.o ib_recv.o ib_ring.o ib_send.o ib_stats.o \ ib_sysctl.o ib_rdma.o \ iw.o iw_cm.o iw_recv.o iw_ring.o iw_send.o iw_stats.o \ @@ -12,10 +12,8 @@ rds_rdma-objs := rdma_transport.o \ obj-$(CONFIG_RDS_TCP) += rds_tcp.o -rds_tcp-objs := tcp.o tcp_connect.o tcp_listen.o tcp_recv.o \ +rds_tcp-y := tcp.o tcp_connect.o tcp_listen.o tcp_recv.o \ tcp_send.o tcp_stats.o -ifeq ($(CONFIG_RDS_DEBUG), y) -EXTRA_CFLAGS += -DDEBUG -endif +ccflags-$(CONFIG_RDS_DEBUG) := -DDEBUG