net/mlx5: Expose optimal performance scatter entries capability
authorYamin Friedman <yaminf@mellanox.com>
Mon, 7 Oct 2019 13:59:31 +0000 (16:59 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Tue, 8 Oct 2019 07:42:07 +0000 (10:42 +0300)
Expose maximum scatter entries per RDMA READ for optimal performance.

Signed-off-by: Yamin Friedman <yaminf@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
include/linux/mlx5/mlx5_ifc.h

index 138c50d5a3533d7ad0b2c8757e9fff08c9b1b388..c0bfb1d90dd2cf0d6b14b66748c8ba81a30cf7fc 100644 (file)
@@ -1153,7 +1153,7 @@ struct mlx5_ifc_cmd_hca_cap_bits {
        u8         log_max_srq[0x5];
        u8         reserved_at_b0[0x10];
 
-       u8         reserved_at_c0[0x8];
+       u8         max_sgl_for_optimized_performance[0x8];
        u8         log_max_cq_sz[0x8];
        u8         reserved_at_d0[0xb];
        u8         log_max_cq[0x5];