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)
commitd4584ddfc97518a575ed538307e81e73456b8175
treea80cf86102652ef7508505ffc373c5b65f97c080
parent36f90b0a2ddd60823fe193a85e60ff1906c2a9b3
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: 972ecb821379 ('IB/mlx5: Add create_cq extended command')
Fixes: ddf9529be19c ('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