Hi,

Le dimanche 08 février 2015 à 13:28 +0200, Haggai Eran a écrit :
> Re-enable the on-demand paging capability query through the
> extended query device verb.
> 

I would find useful to have a link to the initial commit in this one,
so that the thing makes more sense:

commit 8cdd312cfed7 ("IB/mlx5: Implement the ODP capability query
verb").

> Signed-off-by: Haggai Eran <hagg...@mellanox.com>
> ---
>  drivers/infiniband/hw/mlx5/main.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/infiniband/hw/mlx5/main.c 
> b/drivers/infiniband/hw/mlx5/main.c
> index 03bf81211a54..8a87404e9c76 100644
> --- a/drivers/infiniband/hw/mlx5/main.c
> +++ b/drivers/infiniband/hw/mlx5/main.c
> @@ -1331,6 +1331,8 @@ static void *mlx5_ib_add(struct mlx5_core_dev *mdev)
>               (1ull << IB_USER_VERBS_CMD_DESTROY_SRQ)         |
>               (1ull << IB_USER_VERBS_CMD_CREATE_XSRQ)         |
>               (1ull << IB_USER_VERBS_CMD_OPEN_QP);
> +     dev->ib_dev.uverbs_ex_cmd_mask =
> +             (1ull << IB_USER_VERBS_EX_CMD_QUERY_DEVICE);
>  
>       dev->ib_dev.query_device        = mlx5_ib_query_device;
>       dev->ib_dev.query_port          = mlx5_ib_query_port;

Reviewed-by: Yann Droneaud <ydrone...@opteya.com>

Regards.

-- 
Yann Droneaud
OPTEYA


--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to