summaryrefslogtreecommitdiff
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorYonatan Cohen <yonatanc@mellanox.com>2018-05-27 13:42:32 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2018-05-29 23:51:03 +0300
commitab741b2eed3e456cebd2240d4c9c6be003d5ae72 (patch)
treeef4177cfd6e8628bfc904ae8200554734e0df37d /include/linux/mlx5
parent10ff5359f883412728ba816046ee3a696625ca02 (diff)
downloadlinux-ab741b2eed3e456cebd2240d4c9c6be003d5ae72.tar.xz
net/mlx5: Exposing a new mini-CQE format
The new mini-CQE format includes byte-count, checksum and stride index. Reviewed-by: Yishai Hadas <yishaih@mellanox.com> Reviewed-by: Guy Levi <guyle@mellanox.com> Signed-off-by: Yonatan Cohen <yonatanc@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux/mlx5')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 9c3538f1b8b9..10c1613d9434 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -1112,7 +1112,8 @@ struct mlx5_ifc_cmd_hca_cap_bits {
u8 num_of_uars_per_page[0x20];
u8 reserved_at_540[0x40];
- u8 reserved_at_580[0x3d];
+ u8 reserved_at_580[0x3c];
+ u8 mini_cqe_resp_stride_index[0x1];
u8 cqe_128_always[0x1];
u8 cqe_compression_128[0x1];
u8 cqe_compression[0x1];