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>
Showing
- include/uapi/linux/rds.h 11 additions, 0 deletionsinclude/uapi/linux/rds.h
- net/rds/af_rds.c 34 additions, 1 deletionnet/rds/af_rds.c
- net/rds/connection.c 11 additions, 9 deletionsnet/rds/connection.c
- net/rds/ib.c 1 addition, 0 deletionsnet/rds/ib.c
- net/rds/ib_cm.c 1 addition, 1 deletionnet/rds/ib_cm.c
- net/rds/rdma_transport.c 1 addition, 0 deletionsnet/rds/rdma_transport.c
- net/rds/rds.h 7 additions, 2 deletionsnet/rds/rds.h
- net/rds/recv.c 1 addition, 0 deletionsnet/rds/recv.c
- net/rds/send.c 3 additions, 3 deletionsnet/rds/send.c
- net/rds/tcp.c 1 addition, 0 deletionsnet/rds/tcp.c
- net/rds/tcp_listen.c 1 addition, 1 deletionnet/rds/tcp_listen.c
Loading
Please register or sign in to comment