OSDN Git Service

net/mlx5: Set uid as part of DCT commands
authorYishai Hadas <yishaih@mellanox.com>
Thu, 20 Sep 2018 18:35:25 +0000 (21:35 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Tue, 25 Sep 2018 06:52:55 +0000 (09:52 +0300)
commit774ea6eea29025218f75bc94c764df9a641db471
treeb0dbb3fbc9779225a8f4e7012dfd3e99ff5620ed
parenta0d8c054318976927493ffd26055d9d183c9beec
net/mlx5: Set uid as part of DCT commands

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

That will enable using a DCT 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>
drivers/net/ethernet/mellanox/mlx5/core/qp.c
include/linux/mlx5/mlx5_ifc.h