OSDN Git Service

IB/mlx5: Introduce MLX5_IB_OBJECT_DEVX_ASYNC_CMD_FD
authorYishai Hadas <yishaih@mellanox.com>
Tue, 22 Jan 2019 06:29:56 +0000 (08:29 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 29 Jan 2019 20:32:43 +0000 (13:32 -0700)
commit6bf8f22aea0ddd93af822aed8afeeee4acdf7694
treec1f635f6de5b181c620977455db5371b5a496297
parentce4eee5340a966f633fee1e8603aafd223ca394a
IB/mlx5: Introduce MLX5_IB_OBJECT_DEVX_ASYNC_CMD_FD

Introduce MLX5_IB_OBJECT_DEVX_ASYNC_CMD_FD and its initial implementation.

This object is from type class FD and will be used to read DEVX async
commands completion.

The core layer should allow the driver to set object from type FD in a
safe mode, this option was added with a matching comment in place.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/rdma_core.c
drivers/infiniband/core/uverbs_uapi.c
drivers/infiniband/hw/mlx5/devx.c
include/rdma/uverbs_types.h
include/uapi/rdma/mlx5_user_ioctl_cmds.h