IB/mlx5: Add steering SW ICM device memory type
This patch adds support for allocating, deallocating and registering a new device memory type, STEERING_SW_ICM. This memory can be allocated and used by a privileged user for direct rule insertion and management of the device's steering tables. The type is provided by the user via the dedicated attribute in the alloc_dm ioctl command. Signed-off-by:Ariel Levkovich <lariel@mellanox.com> Reviewed-by:
Eli Cohen <eli@mellanox.com> Reviewed-by:
Mark Bloch <markb@mellanox.com> Signed-off-by:
Leon Romanovsky <leonro@mellanox.com> Signed-off-by:
Jason Gunthorpe <jgg@mellanox.com>
Showing
- drivers/infiniband/hw/mlx5/cmd.c 126 additions, 1 deletiondrivers/infiniband/hw/mlx5/cmd.c
- drivers/infiniband/hw/mlx5/cmd.h 5 additions, 1 deletiondrivers/infiniband/hw/mlx5/cmd.h
- drivers/infiniband/hw/mlx5/main.c 135 additions, 7 deletionsdrivers/infiniband/hw/mlx5/main.c
- drivers/infiniband/hw/mlx5/mlx5_ib.h 17 additions, 0 deletionsdrivers/infiniband/hw/mlx5/mlx5_ib.h
- drivers/infiniband/hw/mlx5/mr.c 7 additions, 0 deletionsdrivers/infiniband/hw/mlx5/mr.c
- include/uapi/rdma/mlx5_user_ioctl_verbs.h 2 additions, 0 deletionsinclude/uapi/rdma/mlx5_user_ioctl_verbs.h
Please register or sign in to comment