]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Update mlx5_ifc with DEVX UID bits
authorLeon Romanovsky <leonro@mellanox.com>
Thu, 20 Sep 2018 18:35:26 +0000 (21:35 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Tue, 25 Sep 2018 07:10:58 +0000 (10:10 +0300)
commitb1c33909749b8bb1c751321d808e00347703454e
treee7f57aa6f5486f5fda1c06e52c25374d3a35c705
parentb63813d642f6e34cdfd40ab30970e9633160e97d
net/mlx5: Update mlx5_ifc with DEVX UID bits

Add DEVX information to WQ, SRQ, CQ, TIR, TIS, QP,
RQ, XRCD, PD, MKEY and MCG.

Each object that is created/destroyed/modified via verbs will
be stamped with a UID based on its user context. This is already
done for DEVX objects commands.

This will enable the firmware to enforce the usage of kernel objects
from the DEVX flow by validating that the same UID is used and the
resources are really related to the same user.

The addition of *_valid fields are needed to distinguish
how various addresses are passed.

For non-DEVX callers, all those fields will be zero.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
include/linux/mlx5/mlx5_ifc.h