diff options
author | Yishai Hadas <yishaih@mellanox.com> | 2018-09-20 21:35:24 +0300 |
---|---|---|
committer | Leon Romanovsky <leonro@mellanox.com> | 2018-09-25 09:52:52 +0300 |
commit | a0d8c054318976927493ffd26055d9d183c9beec (patch) | |
tree | 4e2842362e8520f811fc52e4c99b3faccb763040 /include/linux/mlx5/srq.h | |
parent | net/mlx5: Set uid as part of SQ commands (diff) | |
download | linux-dev-a0d8c054318976927493ffd26055d9d183c9beec.tar.xz linux-dev-a0d8c054318976927493ffd26055d9d183c9beec.zip |
net/mlx5: Set uid as part of SRQ commands
Set uid as part of SRQ commands so that the firmware can manage the
SRQ object in a secured way.
That will enable using an SRQ 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 '')
-rw-r--r-- | include/linux/mlx5/srq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/srq.h b/include/linux/mlx5/srq.h index 24ff23e27c8a..1b1f3c20c6a3 100644 --- a/include/linux/mlx5/srq.h +++ b/include/linux/mlx5/srq.h @@ -61,6 +61,7 @@ struct mlx5_srq_attr { u32 tm_next_tag; u32 tm_hw_phase_cnt; u32 tm_sw_phase_cnt; + u16 uid; }; struct mlx5_core_dev; |