diff options
author | Yoray Zack <yorayz@nvidia.com> | 2024-06-04 00:22:17 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-06-05 20:20:46 -0700 |
commit | 758191c9ea7bcc45dd99398a538ae4ab27c4029e (patch) | |
tree | f43afd48794f878aeea9d0ac2a8ea8f6b58b70f0 /net/unix/af_unix.c | |
parent | e95c5b9e89126703de8212ed8e50b185a1f970bb (diff) |
net/mlx5e: SHAMPO, Use KSMs instead of KLMs
KSM Mkey is KLM Mkey with a fixed buffer size. Due to this fact,
it is a faster mechanism than KLM.
SHAMPO feature used KLMs Mkeys for memory mappings of its headers buffer.
As it used KLMs with the same buffer size for each entry,
we can use KSMs instead.
This commit changes the Mkeys that map the SHAMPO headers buffer
from KLMs to KSMs.
Signed-off-by: Yoray Zack <yorayz@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://lore.kernel.org/r/20240603212219.1037656-13-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions