net/mlx5: Exposing a new mini-CQE format
authorYonatan Cohen <yonatanc@mellanox.com>
Sun, 27 May 2018 10:42:32 +0000 (13:42 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 29 May 2018 20:51:03 +0000 (13:51 -0700)
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>
include/linux/mlx5/mlx5_ifc.h

index 9c3538f1b8b98cdde1b559a7169701f32a2a6dc3..10c1613d94345418a5d4a5d152c3d1731b1112a0 100644 (file)
@@ -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];