summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
diff options
context:
space:
mode:
authorArtemy Kovalyov2017-01-02 10:37:41 +0100
committerDavid S. Miller2017-01-02 21:51:20 +0100
commitbcda1aca7712539439d53dd5351c6223e03bf6e1 (patch)
treecf5ffae7e21485b5da530199a0ef1d1f80ff98fb /drivers/net/ethernet/mellanox/mlx5/core/en_main.c
parentIB/mlx5: Add helper mlx5_ib_post_send_wait (diff)
downloadkernel-qcow2-linux-bcda1aca7712539439d53dd5351c6223e03bf6e1.tar.gz
kernel-qcow2-linux-bcda1aca7712539439d53dd5351c6223e03bf6e1.tar.xz
kernel-qcow2-linux-bcda1aca7712539439d53dd5351c6223e03bf6e1.zip
net/mlx5: Support new MR features
This patch adds the following items to IFC file. 1. MLX5_MKC_ACCESS_MODE_KSM enum value for creating KSM memory keys. KSM access mode used when indirect MKey associated with fixed memory size entries. 2. null_mkey field that is used to indicate non-present KLM/KSM entries, where it causes the device to generate page fault event when trying to access it. 3. struct mlx5_ifc_cmd_hca_cap_bits capability bits indicating related value/field is supported: * fixed_buffer_size - MLX5_MKC_ACCESS_MODE_KSM * umr_extended_translation_offset - translation_offset_42_16 in UMR ctrl segment * null_mkey - null_mkey in QUERY_SPECIAL_CONTEXTS Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions