diff options
author | Yishai Hadas <yishaih@mellanox.com> | 2018-09-20 21:35:21 +0300 |
---|---|---|
committer | Leon Romanovsky <leonro@mellanox.com> | 2018-09-25 09:52:39 +0300 |
commit | 4ac63ec72587f7426aae15ddfe78e8ab785724dc (patch) | |
tree | 7970c3e78403c02514dafd9430c7d88deccfbce0 /include/linux/mlx5/qp.h | |
parent | 9ba481e2eb3b932ae5b6278342b256e4f92d2793 (diff) | |
download | linux-4ac63ec72587f7426aae15ddfe78e8ab785724dc.tar.xz |
net/mlx5: Set uid as part of QP commands
Set uid as part of QP commands so that the firmware can manage the
QP object in a secured way.
That will enable using a QP 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>
Diffstat (limited to 'include/linux/mlx5/qp.h')
-rw-r--r-- | include/linux/mlx5/qp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/qp.h b/include/linux/mlx5/qp.h index 4778d41085d4..fbe322c966bc 100644 --- a/include/linux/mlx5/qp.h +++ b/include/linux/mlx5/qp.h @@ -471,6 +471,7 @@ struct mlx5_core_qp { int qpn; struct mlx5_rsc_debug *dbg; int pid; + u16 uid; }; struct mlx5_core_dct { |