Message ID | 1508424118-27205-17-git-send-email-yishaih@mellanox.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c index 46ac67b..499d694 100644 --- a/drivers/infiniband/hw/mlx5/main.c +++ b/drivers/infiniband/hw/mlx5/main.c @@ -601,6 +601,9 @@ static int mlx5_ib_query_device(struct ib_device *ibdev, return -EINVAL; memset(props, 0, sizeof(*props)); + props->max_counter_sets = + dev->counter_sets.max_counter_sets; + err = mlx5_query_system_image_guid(ibdev, &props->sys_image_guid); if (err)