]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
RDMA/mlx5: Use the correct obj_id upon DEVX TIR creation
authorYishai Hadas <yishaih@nvidia.com>
Wed, 30 Dec 2020 13:01:19 +0000 (15:01 +0200)
committerAndrea Righi <andrea.righi@canonical.com>
Mon, 15 Mar 2021 14:09:18 +0000 (15:09 +0100)
commit1567d64da31d1b469cc12dd8e6091230a60e403c
tree5c004ef1baba9b00fb09da3d9cc450a9e78c2138
parentc0ea9ab59eb2d886db8f4b80910681928680d800
RDMA/mlx5: Use the correct obj_id upon DEVX TIR creation

[ Upstream commit 8798e4ad0abe0ba1221928a46561981c510be0c6 ]

Use the correct obj_id upon DEVX TIR creation by strictly taking the tirn
24 bits and not the general obj_id which is 32 bits.

Fixes: 7efce3691d33 ("IB/mlx5: Add obj create and destroy functionality")
Link: https://lore.kernel.org/r/20201230130121.180350-2-leon@kernel.org
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
drivers/infiniband/hw/mlx5/devx.c