]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add support to klm_umr_wqe
authorBen Ben-Ishay <benishay@nvidia.com>
Tue, 14 Jul 2020 11:40:32 +0000 (14:40 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 27 Oct 2021 02:30:39 +0000 (19:30 -0700)
commitf1f573e121713f33d8bdd17266115c22eed0a9fb
tree5d8fe25c51b483e1fd56237fefa2eb54585f72e2
parentc4b903f80bc1c54358d70cb278a201be37c92805
net/mlx5e: Add support to klm_umr_wqe

This commit adds the needed definitions for using the klm_umr_wqe.
UMR stands for user-mode memory registration, is a mechanism to alter
address translation properties of MKEY by posting WorkQueueElement
aka WQE on send queue.
MKEY stands for memory key, MKEY are used to describe a region in memory that
can be later used by HW.
KLM stands for {Key, Length, MemVa}, KLM_MKEY is indirect MKEY that enables
to map multiple memory spaces with different sizes in unified MKEY.
klm_umr_wqe is a UMR that use to update a KLM_MKEY.
SHAMPO feature uses KLM_MKEY for memory registration of his header buffer.

Signed-off-by: Ben Ben-Ishay <benishay@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
include/linux/mlx5/device.h