OSDN Git Service

IB/mlx5: Allow XRC INI usage via verbs in DEVX context
authorYishai Hadas <yishaih@mellanox.com>
Sun, 23 Dec 2018 11:12:21 +0000 (13:12 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 2 Jan 2019 16:40:34 +0000 (09:40 -0700)
commit7422edce73559d2985f322145c865cea2da3c152
tree9c522e37da750070ff26ada1acda5c3048ef5268
parent5d24ae67a961c51beb255a28c9c417d9710247c2
IB/mlx5: Allow XRC INI usage via verbs in DEVX context

From device point of view both XRC target and initiator are XRC transport
type.

Fix to use the expected UID as was handled for the XRC target case to
allow its usage via verbs in DEVX context.

Fixes: 5aa3771ded54 ("IB/mlx5: Allow XRC usage via verbs in DEVX context")
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Reviewed-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c