IB/mlx5: Set uid as part of XRCD commands

Set uid as part of XRCD commands so that the firmware can manage the
XRCD object in a secured way.

That will enable using an XRCD that was created by verbs application
to be used by the DEVX flow in case the uid is equal.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
Yishai Hadas
2018-09-20 21:39:31 +03:00
committed by Jason Gunthorpe
父節點 cf50a7863b
當前提交 d00614c057
共有 4 個文件被更改,包括 34 次插入2 次删除

查看文件

@@ -539,6 +539,7 @@ struct mlx5_ib_srq {
struct mlx5_ib_xrcd {
struct ib_xrcd ibxrcd;
u32 xrcdn;
u16 uid;
};
enum mlx5_ib_mtt_access_flags {