Skip to content

Commit

Permalink
net/mlx5: Introduce header-modify-pattern ICM properties
Browse files Browse the repository at this point in the history
Added new fields for device memory capabilities, in order to
support creation of ICM memory for modify header patterns.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Acked-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
  • Loading branch information
Yevgeny Kliteynik authored and Saeed Mahameed committed Jun 13, 2022
1 parent f2906aa commit 795e10b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions include/linux/mlx5/mlx5_ifc.h
Original file line number Diff line number Diff line change
Expand Up @@ -1086,11 +1086,14 @@ struct mlx5_ifc_device_mem_cap_bits {
u8 log_sw_icm_alloc_granularity[0x6];
u8 log_steering_sw_icm_size[0x8];

u8 reserved_at_120[0x20];
u8 reserved_at_120[0x18];
u8 log_header_modify_pattern_sw_icm_size[0x8];

u8 header_modify_sw_icm_start_address[0x40];

u8 reserved_at_180[0x80];
u8 reserved_at_180[0x40];

u8 header_modify_pattern_sw_icm_start_address[0x40];

u8 memic_operations[0x20];

Expand Down

0 comments on commit 795e10b

Please sign in to comment.