diff options
author | Dragos Tatulea <[email protected]> | 2023-10-18 20:14:53 +0300 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2023-11-01 09:19:57 -0400 |
commit | 03dd63c8fae4599439a30e0dde91061789260dbe (patch) | |
tree | 0fc61dc118cdaf2cac8c226c08bbd006508d5bed /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 55229eab8cd767a5811a4fb112b3ca9db6eaa9d2 (diff) |
vdpa/mlx5: Enable hw support for vq descriptor mapping
Vq descriptor mappings are supported in hardware by filling in an
additional mkey which contains the descriptor mappings to the hw vq.
A previous patch in this series added support for hw mkey (mr) creation
for ASID 1.
This patch fills in both the vq data and vq descriptor mkeys based on
group ASID mapping.
The feature is signaled to the vdpa core through the presence of the
.get_vq_desc_group op.
Acked-by: Jason Wang <[email protected]>
Acked-by: Eugenio Pérez <[email protected]>
Signed-off-by: Dragos Tatulea <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Si-Wei Liu <[email protected]>
Tested-by: Si-Wei Liu <[email protected]>
Tested-by: Lei Yang <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions