]> asedeno.scripts.mit.edu Git - linux.git/commit
IB/mlx5: Add CQ moderation capability to query_device
authorYonatan Cohen <yonatanc@mellanox.com>
Mon, 13 Nov 2017 08:51:18 +0000 (10:51 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 13 Nov 2017 21:59:22 +0000 (16:59 -0500)
commit87ab3f524efd171699d21bbc98b1268acb476da5
treeb83cc8087a74d346b0b2026cb9927178b3ff463e
parent0fd586de65ae6a249433e1b496f5ed9ce199be73
IB/mlx5: Add CQ moderation capability to query_device

query_device can now obtain the maximum values for
cq_max_count and cq_period, needed for cq moderation.

Signed-off-by: Yonatan Cohen <yonatanc@mellanox.com>
Reviewed-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c