summaryrefslogtreecommitdiff
path: root/include/uapi/rdma/mlx5_user_ioctl_verbs.h
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@mellanox.com>2020-02-19 22:05:18 +0300
committerJason Gunthorpe <jgg@mellanox.com>2020-03-10 17:53:52 +0300
commit30f2fe40c72bfbdde7bc066cb862bd05014be9f1 (patch)
tree9a236d070972c0b546eff71554c525499dab5bd6 /include/uapi/rdma/mlx5_user_ioctl_verbs.h
parent1326034b3ce7073e3ed74bd0f4d24afee96a9e07 (diff)
downloadlinux-30f2fe40c72bfbdde7bc066cb862bd05014be9f1.tar.xz
IB/mlx5: Introduce UAPIs to manage packet pacing
Introduce packet pacing uobject and its alloc and destroy methods. This uobject holds mlx5 packet pacing context according to the device specification and enables managing packet pacing device entries that are needed by DEVX applications. Link: https://lore.kernel.org/r/20200219190518.200912-3-leon@kernel.org Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/uapi/rdma/mlx5_user_ioctl_verbs.h')
-rw-r--r--include/uapi/rdma/mlx5_user_ioctl_verbs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/rdma/mlx5_user_ioctl_verbs.h b/include/uapi/rdma/mlx5_user_ioctl_verbs.h
index 88b6ca70c2fe..b4641a7865f7 100644
--- a/include/uapi/rdma/mlx5_user_ioctl_verbs.h
+++ b/include/uapi/rdma/mlx5_user_ioctl_verbs.h
@@ -73,5 +73,9 @@ struct mlx5_ib_uapi_devx_async_event_hdr {
__u8 out_data[];
};
+enum mlx5_ib_uapi_pp_alloc_flags {
+ MLX5_IB_UAPI_PP_ALLOC_FLAGS_DEDICATED_INDEX = 1 << 0,
+};
+
#endif