linux/drivers/infiniband
Weihang Li 603bee935f RDMA/hns: Do shift on traffic class when using RoCEv2
The high 6 bits of traffic class in GRH is DSCP (Differentiated Services
Codepoint), the driver should shift it before the hardware gets it when
using RoCEv2.

Fixes: 606bf89e98 ("RDMA/hns: Refactor for hns_roce_v2_modify_qp function")
Fixes: fba429fcf9 ("RDMA/hns: Fix missing fields in address vector")
Link: https://lore.kernel.org/r/1607650657-35992-4-git-send-email-liweihang@huawei.com
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-12-11 15:21:33 -04:00
..
core RDMA/uverbs: Fix incorrect variable type 2020-12-10 15:05:17 -04:00
hw RDMA/hns: Do shift on traffic class when using RoCEv2 2020-12-11 15:21:33 -04:00
sw IB: Fix kernel-doc markups 2020-12-07 15:45:00 -04:00
ulp RDMA/iser: Remove in_interrupt() usage 2020-12-07 16:05:12 -04:00
Kconfig RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs 2020-11-12 13:27:41 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00