mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
RDMA/hns: Do shift on traffic class when using RoCEv2
[ Upstream commit603bee935f] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
44dd35a017
commit
78d22dd989
3 changed files with 12 additions and 8 deletions
Loading…
Add table
Add a link
Reference in a new issue