projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4056bf
)
IB/mlx5: Enable the ODP capability query verb
author
Haggai Eran
<
[email protected]
>
Sun, 8 Feb 2015 11:28:52 +0000
(13:28 +0200)
committer
Roland Dreier
<
[email protected]
>
Wed, 18 Feb 2015 16:36:26 +0000
(08:36 -0800)
Re-enable the on-demand paging capability query through the
extended query device verb.
Signed-off-by: Haggai Eran <
[email protected]
>
Reviewed-by: Yann Droneaud <
[email protected]
>
Signed-off-by: Roland Dreier <
[email protected]
>
drivers/infiniband/hw/mlx5/main.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/mlx5/main.c
b/drivers/infiniband/hw/mlx5/main.c
index 03bf81211a5401c366522c68213ecf27cdf4b326..8a87404e9c76e763709e478b17b00485f38e678f 100644
(file)
--- 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;