diff options
Diffstat (limited to 'drivers/infiniband/hw/mlx4/ah.c')
-rw-r--r-- | drivers/infiniband/hw/mlx4/ah.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx4/ah.c b/drivers/infiniband/hw/mlx4/ah.c index 4b8f9c49397e..a251becdaa98 100644 --- a/drivers/infiniband/hw/mlx4/ah.c +++ b/drivers/infiniband/hw/mlx4/ah.c | |||
@@ -126,7 +126,7 @@ static struct ib_ah *create_iboe_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr | |||
126 | ah->av.ib.dlid = cpu_to_be16(0xc000); | 126 | ah->av.ib.dlid = cpu_to_be16(0xc000); |
127 | 127 | ||
128 | memcpy(ah->av.eth.dgid, ah_attr->grh.dgid.raw, 16); | 128 | memcpy(ah->av.eth.dgid, ah_attr->grh.dgid.raw, 16); |
129 | ah->av.eth.sl_tclass_flowlabel = cpu_to_be32(ah_attr->sl << 28); | 129 | ah->av.eth.sl_tclass_flowlabel = cpu_to_be32(ah_attr->sl << 29); |
130 | 130 | ||
131 | return &ah->ibah; | 131 | return &ah->ibah; |
132 | } | 132 | } |