diff options
author | Yonatan Cohen <yonatanc@mellanox.com> | 2018-06-19 08:47:24 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-04 13:16:04 -0600 |
commit | 25bb36e75d7d62dc14ae2306dca38d672e0c3fa0 (patch) | |
tree | b94e9aecd9f3a65e2bdbaafaba15a7b784b73323 /include/linux/mlx5 | |
parent | b183ee27f5fb07c8428e2fe45d5f35dac611c45d (diff) | |
download | linux-25bb36e75d7d62dc14ae2306dca38d672e0c3fa0.tar.gz linux-25bb36e75d7d62dc14ae2306dca38d672e0c3fa0.tar.bz2 linux-25bb36e75d7d62dc14ae2306dca38d672e0c3fa0.zip |
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.
Signed-off-by: Yonatan Cohen <yonatanc@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Reviewed-by: Guy Levi <guyle@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/linux/mlx5')
0 files changed, 0 insertions, 0 deletions