IB/mlx5: Introduce UAPIs to manage packet pacing
authorYishai Hadas <yishaih@mellanox.com>
Wed, 19 Feb 2020 19:05:18 +0000 (21:05 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 10 Mar 2020 14:53:52 +0000 (11:53 -0300)
commit30f2fe40c72bfbdde7bc066cb862bd05014be9f1
tree9a236d070972c0b546eff71554c525499dab5bd6
parent1326034b3ce7073e3ed74bd0f4d24afee96a9e07
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>
drivers/infiniband/hw/mlx5/Makefile
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qos.c [new file with mode: 0644]
include/uapi/rdma/mlx5_user_ioctl_cmds.h
include/uapi/rdma/mlx5_user_ioctl_verbs.h