Skip to content

Commit fe17f84

Browse files
Andy Groverdavem330
authored andcommitted
RDS: Kconfig and Makefile
Add RDS Kconfig and Makefile, and modify net/'s to add us to the build. Signed-off-by: Andy Grover <andy.grover@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent a09ed66 commit fe17f84

4 files changed

Lines changed: 29 additions & 0 deletions

File tree

‎net/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ endif
171171

172172
source "net/dccp/Kconfig"
173173
source "net/sctp/Kconfig"
174+
source "net/rds/Kconfig"
174175
source "net/tipc/Kconfig"
175176
source "net/atm/Kconfig"
176177
source "net/802/Kconfig"

‎net/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ obj-y += 8021q/
4949
endif
5050
obj-$(CONFIG_IP_DCCP) += dccp/
5151
obj-$(CONFIG_IP_SCTP) += sctp/
52+
obj-$(CONFIG_RDS) += rds/
5253
obj-y += wireless/
5354
obj-$(CONFIG_MAC80211) += mac80211/
5455
obj-$(CONFIG_TIPC) += tipc/

‎net/rds/Kconfig‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
config RDS
3+
tristate "Reliable Datagram Sockets (RDS) (EXPERIMENTAL)"
4+
depends on INET && INFINIBAND_IPOIB && EXPERIMENTAL
5+
---help---
6+
RDS provides reliable, sequenced delivery of datagrams
7+
over Infiniband.
8+
9+
config RDS_DEBUG
10+
bool "Debugging messages"
11+
depends on RDS
12+
default n
13+

‎net/rds/Makefile‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
obj-$(CONFIG_RDS) += rds.o
2+
rds-y := af_rds.o bind.o cong.o connection.o info.o message.o \
3+
recv.o send.o stats.o sysctl.o threads.o transport.o \
4+
loop.o page.o rdma.o \
5+
rdma_transport.o \
6+
ib.o ib_cm.o ib_recv.o ib_ring.o ib_send.o ib_stats.o \
7+
ib_sysctl.o ib_rdma.o \
8+
iw.o iw_cm.o iw_recv.o iw_ring.o iw_send.o iw_stats.o \
9+
iw_sysctl.o iw_rdma.o
10+
11+
ifeq ($(CONFIG_RDS_DEBUG), y)
12+
EXTRA_CFLAGS += -DDEBUG
13+
endif
14+

0 commit comments

Comments
 (0)