From: Prabhakar Kushwaha <pkushwaha@xxxxxxxxxxx> Instead of grh flow label use grh layer traffic_class as RDMA CM TOS. Signed-off-by: Shai Malin <smalin@xxxxxxxxxxx> Signed-off-by: Ariel Elior <aelior@xxxxxxxxxxx> Signed-off-by: Prabhakar Kushwaha <pkushwaha@xxxxxxxxxxx> --- Changes for v2: - none drivers/infiniband/hw/qedr/qedr_roce_cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/qedr/qedr_roce_cm.c b/drivers/infiniband/hw/qedr/qedr_roce_cm.c index eb7d24742664..1fa7415117e5 100644 --- a/drivers/infiniband/hw/qedr/qedr_roce_cm.c +++ b/drivers/infiniband/hw/qedr/qedr_roce_cm.c @@ -477,7 +477,7 @@ static inline int qedr_gsi_build_header(struct qedr_dev *dev, u32 ipv4_addr; udh->ip4.protocol = IPPROTO_UDP; - udh->ip4.tos = htonl(grh->flow_label); + udh->ip4.tos = grh->traffic_class; udh->ip4.frag_off = htons(IP_DF); udh->ip4.ttl = grh->hop_limit; -- 2.24.1