Skip to content

Commit 8feaf98

Browse files
mikijoyrleon
authored andcommitted
net/mlx5: Expose HCA capability bits for mkey max page size
Expose the HCA capability for maximal page size that can be configured for an mkey. Used for enforcing capabilities when working with highly contiguous memory and using large page sizes. Signed-off-by: Michael Guralnik <[email protected]> Link: https://patch.msgid.link/3e4d3fda37934430f65f72601519e22bf396fd05.1751979184.git.leon@kernel.org Signed-off-by: Leon Romanovsky <[email protected]>
1 parent 70f238c commit 8feaf98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/linux/mlx5/mlx5_ifc.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2171,7 +2171,9 @@ struct mlx5_ifc_cmd_hca_cap_2_bits {
21712171
u8 min_mkey_log_entity_size_fixed_buffer[0x5];
21722172
u8 ec_vf_vport_base[0x10];
21732173

2174-
u8 reserved_at_3a0[0xa];
2174+
u8 reserved_at_3a0[0x2];
2175+
u8 max_mkey_log_entity_size_fixed_buffer[0x6];
2176+
u8 reserved_at_3a8[0x2];
21752177
u8 max_mkey_log_entity_size_mtt[0x6];
21762178
u8 max_rqt_vhca_id[0x10];
21772179

0 commit comments

Comments
 (0)