]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Add CREATE_CQ and CREATE_QP to uverbs_ex_cmd_mask
authorMatan Barak <matanb@mellanox.com>
Thu, 28 Jan 2016 15:51:46 +0000 (17:51 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 2 Feb 2016 21:42:21 +0000 (16:42 -0500)
commitc8e2665b5e68cc15e1c869b3551b9dfa900bbd18
treea80cf86102652ef7508505ffc373c5b65f97c080
parent87769ffbad1a15e849b568d4bb3ecd9e274ee8b0
IB/mlx5: Add CREATE_CQ and CREATE_QP to uverbs_ex_cmd_mask

The mlx5_ib driver supports the extended create_cq and create_qp user
verbs. In the current mechanism, a vendor supporting an extended uverb
should set the appropriate bit in the uverbs_ex_cmd_mask field.
Adding the actual support by setting the required bits in order to
support features like completion time-stamping and cross-channel.

Fixes: ad70ce744ebc ('IB/mlx5: Add create_cq extended command')
Fixes: b34c009c9219 ('IB/core: Allow setting create flags in QP init
                      attribute')
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c