]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/rds: Assign the correct service level
authorWei Lin Guay <wei.lin.guay@oracle.com>
Mon, 30 Oct 2017 09:45:56 +0000 (10:45 +0100)
committerBrian Maly <brian.maly@oracle.com>
Mon, 11 Jun 2018 20:20:29 +0000 (16:20 -0400)
commitd6c8d3ed5ccc454ef8ccbb53fc75f35973ea0da8
tree6550a5fd4f075c365071e3209bdc21041241f704
parentb2169ad4a2a6a0d3bdf6181478628492dd07a670
net/rds: Assign the correct service level

Commit 2bbf6158c769 ("net/rds: remove the RDS specific path record
caching") has changed the service level (SL) to TOS mapping to be
1:1. Nevertheless, it has assigned the SL to be a 8-bit value even though
IB specification section 7.7.3 mentioned that the SL is only a 4-bit
field. Thus, this patch assigns the SL correctly.

Orabug: 27607213

Signed-off-by: Wei Lin Guay <wei.lin.guay@oracle.com>
Reported-by: Håkon Bugge <haakon.bugge@oracle.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
(cherry picked from commit 8305552e624618c7196575d5a6ae64c0c024fc20
repo uek5)

Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>
Reviewed-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
net/rds/rdma_transport.c
net/rds/rdma_transport.h