commit | ca750d4a9c426854e221ca404fbefeab9800134e | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@mellanox.com> | Wed Feb 12 09:26:27 2020 +0200 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Thu Feb 13 11:38:19 2020 -0400 |
tree | 954162d6942c035fa564e443db6e375afc9d0c8c | |
parent | beb205dd67aaa4315dedf5c40b47c6e9dee5a469 [diff] |
RDMA/ucma: Mask QPN to be 24 bits according to IBTA IBTA declares QPN as 24bits, mask input to ensure that kernel doesn't get higher bits and ensure by adding WANR_ONCE() that other CM users do the same. Link: https://lore.kernel.org/r/20200212072635.682689-2-leon@kernel.org Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>