summaryrefslogtreecommitdiff
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2018-06-19 08:47:23 +0300
committerLeon Romanovsky <leonro@mellanox.com>2018-07-04 21:52:49 +0300
commitb183ee27f5fb07c8428e2fe45d5f35dac611c45d (patch)
tree9825f70724f42b2ccfc51765165acdbfa0818227 /include/linux/mlx5
parent4d4fb5dc988a36307711be292bde6e39b8bdbceb (diff)
downloadlwn-b183ee27f5fb07c8428e2fe45d5f35dac611c45d.tar.gz
lwn-b183ee27f5fb07c8428e2fe45d5f35dac611c45d.zip
net/mlx5: Add hardware definitions for dump_fill_mkey
MLX5 IB HCA offers the memory key, dump_fill_mkey to boost performance by forcing local HCA operations to skip the PCI bus access, This patch adds needed hardware definitions. Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'include/linux/mlx5')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index deb3a459a22e..1853e7fd6924 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -885,7 +885,9 @@ struct mlx5_ifc_cmd_hca_cap_bits {
u8 log_max_eq_sz[0x8];
u8 reserved_at_e8[0x2];
u8 log_max_mkey[0x6];
- u8 reserved_at_f0[0xc];
+ u8 reserved_at_f0[0x8];
+ u8 dump_fill_mkey[0x1];
+ u8 reserved_at_f9[0x3];
u8 log_max_eq[0x4];
u8 max_indirection[0x8];