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.
Showing the changes to include/uapi (1 of 6 files). Show all
Unified · Split
| @@ -59,6 +59,8 @@ struct mlx5_ib_uapi_devx_async_cmd_hdr { · 58 unmodified lines | |||
| 59 | 59 | ||
| 60 | enum mlx5_ib_uapi_dm_type { | 60 | enum mlx5_ib_uapi_dm_type { |
| 61 | MLX5_IB_UAPI_DM_TYPE_MEMIC, | 61 | MLX5_IB_UAPI_DM_TYPE_MEMIC, |
| 62 | MLX5_IB_UAPI_DM_TYPE_STEERING_SW_ICM, | ||
| 63 | MLX5_IB_UAPI_DM_TYPE_HEADER_MODIFY_SW_ICM, | ||
| 62 | }; | 64 | }; |
| 63 | 65 | ||
| 64 | #endif | 66 | #endif |