IB/mlx5: Add 128B CQE compression and padding HW bits
authorGuy Levi <guyle@mellanox.com>
Thu, 19 Oct 2017 05:25:51 +0000 (08:25 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 25 Oct 2017 18:17:06 +0000 (14:17 -0400)
Adding new bits in mlx5_ifc_cmd_hca_cap to get the hardware capabilities
for:
 - compression_128: Support 128B CQE compression
 - cqe_128_always: Support 128B CQE padding

Signed-off-by: Guy Levi <guyle@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/linux/mlx5/mlx5_ifc.h

index db655db..d49928c 100644 (file)
@@ -1047,7 +1047,9 @@ struct mlx5_ifc_cmd_hca_cap_bits {
        u8         num_of_uars_per_page[0x20];
        u8         reserved_at_540[0x40];
 
-       u8         reserved_at_580[0x3f];
+       u8         reserved_at_580[0x3d];
+       u8         cqe_128_always[0x1];
+       u8         cqe_compression_128[0x1];
        u8         cqe_compression[0x1];
 
        u8         cqe_compression_timeout[0x10];