OSDN Git Service

net/mlx5: Set uid as part of QP commands
authorYishai Hadas <yishaih@mellanox.com>
Thu, 20 Sep 2018 18:35:21 +0000 (21:35 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Tue, 25 Sep 2018 06:52:39 +0000 (09:52 +0300)
commit4ac63ec72587f7426aae15ddfe78e8ab785724dc
tree7970c3e78403c02514dafd9430c7d88deccfbce0
parent9ba481e2eb3b932ae5b6278342b256e4f92d2793
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>
drivers/net/ethernet/mellanox/mlx5/core/qp.c
include/linux/mlx5/mlx5_ifc.h
include/linux/mlx5/qp.h