IB/mlx4: Fix flow label returned from query QP
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Wed, 18 Jul 2007 01:37:38 +0000 (18:37 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 18 Jul 2007 01:37:38 +0000 (18:37 -0700)
commit586bb586ae59c473393c09291e86042d263c3ddd
treed0d13f5f194e414ce5ed81223c3a10c087bd16ac
parent1b07db7079103961de64f75761639435e9082504
IB/mlx4: Fix flow label returned from query QP

Correct the mask used to get the flow label, since the field is 20 bits,
not 24 bits.

Found by Dotan Barak and Yaron Gepstein of Mellanox.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/qp.c