History

IB/mlx5: Expose dump and fill memory key

MLX5 IB HCA offers the memory key, dump_fill_mkey to boost performance, when used in a send or receive operations. It is used to force local HCA operations to skip the PCI bus access, while keeping track of the processed length in the ibv_sge handling. Meaning, instead of a PCI write access the HCA leaves the target memory untouched, and skips filling that packet section. Similar behavior is done upon send, the HCA skips data in memory relevant to this key and saves PCI bus access. This functionality saves PCI read/write operations.

Yonatan Cohen committed 8 years ago

Commit 25bb36e1 parent b183ee22 files · +18 −1Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/rdma/mlx5-abi.h+2−1
@@ -90,6 +90,7 @@ struct mlx5_ib_alloc_ucontext_req_v2 { · 89 unmodified lines
90 90
91enum mlx5_ib_alloc_ucontext_resp_mask {91enum mlx5_ib_alloc_ucontext_resp_mask {
92 MLX5_IB_ALLOC_UCONTEXT_RESP_MASK_CORE_CLOCK_OFFSET = 1UL << 0,92 MLX5_IB_ALLOC_UCONTEXT_RESP_MASK_CORE_CLOCK_OFFSET = 1UL << 0,
93 MLX5_IB_ALLOC_UCONTEXT_RESP_MASK_DUMP_FILL_MKEY = 1UL << 1,
93};94};
94 95
95enum mlx5_user_cmds_supp_uhw {96enum mlx5_user_cmds_supp_uhw {
@@ -138,7 +139,7 @@ struct mlx5_ib_alloc_ucontext_resp { · 42 unmodified lines
138 __u32 log_uar_size;139 __u32 log_uar_size;
139 __u32 num_uars_per_page;140 __u32 num_uars_per_page;
140 __u32 num_dyn_bfregs;141 __u32 num_dyn_bfregs;
141 __u32 reserved3;142 __u32 dump_fill_mkey;
142};143};
143 144
144struct mlx5_ib_alloc_pd_resp {145struct mlx5_ib_alloc_pd_resp {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t