We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1eb251 commit f637040Copy full SHA for f637040
drivers/infiniband/hw/mlx5/mr.c
@@ -246,6 +246,7 @@ static void set_cache_mkc(struct mlx5_cache_ent *ent, void *mkc)
246
MLX5_SET(mkc, mkc, access_mode_1_0, ent->rb_key.access_mode & 0x3);
247
MLX5_SET(mkc, mkc, access_mode_4_2,
248
(ent->rb_key.access_mode >> 2) & 0x7);
249
+ MLX5_SET(mkc, mkc, ma_translation_mode, !!ent->rb_key.ats);
250
251
MLX5_SET(mkc, mkc, translations_octword_size,
252
get_mkc_octo_size(ent->rb_key.access_mode,
0 commit comments