summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEran Ben Elisha <eranbe@mellanox.com>2020-04-24 12:45:09 -0700
committerSaeed Mahameed <saeedm@mellanox.com>2020-04-28 12:45:18 -0700
commit0e1533bb9cce2c6b2aecdfddfcc0de3beeaddc7b (patch)
tree9ce0454de5e7488dfc6abca301c131a02ae4a89a /include
parentee5cdf7a5e8945372c7496e98de2b364e095b60b (diff)
downloadlinux-stable-0e1533bb9cce2c6b2aecdfddfcc0de3beeaddc7b.tar.gz
linux-stable-0e1533bb9cce2c6b2aecdfddfcc0de3beeaddc7b.tar.bz2
linux-stable-0e1533bb9cce2c6b2aecdfddfcc0de3beeaddc7b.zip
net/mlx5: Add release all pages capability bit
Add a bit in HCA capabilities layout to indicate if release all pages is supported. Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Reviewed-by: Moshe Shemesh <moshe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include')
-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 6a6bb5dc7916..fb243848132d 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -1244,7 +1244,9 @@ struct mlx5_ifc_cmd_hca_cap_bits {
u8 reserved_at_130[0xa];
u8 log_max_ra_res_dc[0x6];
- u8 reserved_at_140[0x9];
+ u8 reserved_at_140[0x6];
+ u8 release_all_pages[0x1];
+ u8 reserved_at_147[0x2];
u8 roce_accl[0x1];
u8 log_max_ra_req_qp[0x6];
u8 reserved_at_150[0xa];