]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Fix masking of reserved bits in XRCD number
authorMajd Dibbiny <majd@mellanox.com>
Thu, 9 Jun 2016 21:07:29 +0000 (00:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jun 2016 05:06:25 +0000 (22:06 -0700)
commit5ef6e3e48ad305c845109a2f32c0d5f3fad73560
treeb8a64e6c85f67c64f7d1d1849708853d7df83222
parent7edc2cd1d0bb42908032b2e59f8bd0874c75ff89
net/mlx5: Fix masking of reserved bits in XRCD number

Mask the reserved bits when reading the number of newly
created XRCD.

Fixes: 7c120481afcc ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/qp.c