rds: add transport specific tos_map hook
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Sat, 13 Oct 2018 13:36:49 +0000 (21:36 +0800)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 4 Feb 2019 22:59:13 +0000 (14:59 -0800)
commit56dc8bce9f761cf61258e25d96dec4072273d8db
tree99e56197db9d11e8aa3b02d8e354cbadf9843410
parent3eb450367d0823226515ee24712ed08eccb33eb9
rds: add transport specific tos_map hook

RDMA transport maps user tos to underline virtual lanes(VL)
for IB or DSCP values. RDMA CM transport abstract thats for
RDS. TCP transport makes use of default priority 0 and maps
all user tos values to it.

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>
net/rds/af_rds.c
net/rds/ib.c
net/rds/rds.h
net/rds/tcp.c