Message ID | 20210729133032.26278-4-smalin@marvell.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | qedr: consider dscp prio for vlan tag and update tos | expand |
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;