net/mlx5: Expose DC scatter to CQE capability bit
authorYonatan Cohen <yonatanc@mellanox.com>
Tue, 9 Oct 2018 09:05:12 +0000 (12:05 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Tue, 16 Oct 2018 18:55:29 +0000 (21:55 +0300)
dc_req_scat_data_cqe capability bit determines
if requester scatter to cqe is available for 64 bytes CQE over
DC transport type.

Signed-off-by: Yonatan Cohen <yonatanc@mellanox.com>
Reviewed-by: Guy Levi <guyle@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
include/linux/mlx5/mlx5_ifc.h

index 68f4d5f9d929eea8f3a83468b000f8a898c93ab9..0f460fb22c31bc67c8fc4453105e028f242e5797 100644 (file)
@@ -1005,7 +1005,8 @@ struct mlx5_ifc_cmd_hca_cap_bits {
        u8         umr_modify_atomic_disabled[0x1];
        u8         umr_indirect_mkey_disabled[0x1];
        u8         umr_fence[0x2];
-       u8         reserved_at_20c[0x3];
+       u8         dc_req_scat_data_cqe[0x1];
+       u8         reserved_at_20d[0x2];
        u8         drain_sigerr[0x1];
        u8         cmdif_checksum[0x2];
        u8         sigerr_cqe[0x1];