aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/user.h
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@mellanox.com>2016-05-23 15:20:53 +0300
committerDoug Ledford <dledford@redhat.com>2016-06-23 11:02:43 -0400
commitc5f9092936fe88b39e2eddccedeb1c51883fcd31 (patch)
treea2cb7e2dac00ae366f16e7b5687cc51fdd967436 /drivers/infiniband/hw/mlx5/user.h
parentIB/uverbs: Introduce RWQ Indirection table (diff)
downloadlinux-dev-c5f9092936fe88b39e2eddccedeb1c51883fcd31.tar.xz
linux-dev-c5f9092936fe88b39e2eddccedeb1c51883fcd31.zip
IB/mlx5: Add Receive Work Queue Indirection table operations
Some mlx5 based hardwares support a RQ table object. This RQ table points to a few RQ objects. We implement the receive work queue indirection table API (create and destroy) by using this hardware object. Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Matan Barak <matanb@mellanox.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/user.h')
-rw-r--r--drivers/infiniband/hw/mlx5/user.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx5/user.h b/drivers/infiniband/hw/mlx5/user.h
index 3e66f935e4c8..0f8795546471 100644
--- a/drivers/infiniband/hw/mlx5/user.h
+++ b/drivers/infiniband/hw/mlx5/user.h
@@ -179,6 +179,11 @@ struct mlx5_ib_create_wq_resp {
__u32 reserved;
};
+struct mlx5_ib_create_rwq_ind_tbl_resp {
+ __u32 response_length;
+ __u32 reserved;
+};
+
struct mlx5_ib_modify_wq {
__u32 comp_mask;
__u32 reserved;