IB/mlx5: Expose CQE version to user-space
authorHaggai Abramovsky <hagaya@mellanox.com>
Thu, 14 Jan 2016 17:12:58 +0000 (19:12 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 21 Jan 2016 17:01:08 +0000 (12:01 -0500)
commitf72300c56c3bedac5fdb22cdc90f6633dc858c84
tree19c88374ce5a680782969d8410c7fa54b2e57feb
parentcfb5e088e26ae0e12064171f645ed022cf6d55b9
IB/mlx5: Expose CQE version to user-space

Per user context, work with CQE version that both the user-space
and the kernel support. Report this CQE version via the response of
the alloc_ucontext command.

Signed-off-by: Haggai Abramovsky <hagaya@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/user.h