rds: add type of service(tos) infrastructure
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Wed, 24 Oct 2018 03:21:14 +0000 (23:21 -0400)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 4 Feb 2019 22:59:12 +0000 (14:59 -0800)
commit3eb450367d0823226515ee24712ed08eccb33eb9
treed45c2920e6845dcd8a042c751c8b9dddcd48b913
parentd021fabf525ffdaeb4e6f1cf50e1ba325ca5273b
rds: add type of service(tos) infrastructure

RDS Service type (TOS) is user-defined and needs to be configured
via RDS IOCTL interface. It must be set before initiating any
traffic and once set the TOS can not be changed. All out-going
traffic from the socket will be associated with its TOS.

Reviewed-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
[yanjun.zhu@oracle.com: Adapted original patch with ipv6 changes]
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
include/uapi/linux/rds.h
net/rds/af_rds.c
net/rds/connection.c
net/rds/ib.c
net/rds/ib_cm.c
net/rds/rdma_transport.c
net/rds/rds.h
net/rds/recv.c
net/rds/send.c
net/rds/tcp.c
net/rds/tcp_listen.c