summaryrefslogtreecommitdiff
path: root/include/linux/mlx5/srq.h
diff options
context:
space:
mode:
authorArtemy Kovalyov <artemyko@mellanox.com>2017-08-17 15:52:10 +0300
committerDoug Ledford <dledford@redhat.com>2017-08-29 15:30:20 +0300
commit5b3ec3fcb6bbe081279c73fb574af8c72f14cea0 (patch)
treed822f048db7c845ea79dab7b9ef1b7874ace3955 /include/linux/mlx5/srq.h
parenteb761894351d0372248f2636c213d7b822e8775f (diff)
downloadlinux-5b3ec3fcb6bbe081279c73fb574af8c72f14cea0.tar.xz
net/mlx5: Add XRQ support
Add support to new XRQ(eXtended shared Receive Queue) hardware object. It supports SRQ semantics with addition of extended receive buffers topologies and offloads. Currently supports tag matching topology and rendezvouz offload. Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com> Reviewed-by: Yossi Itigin <yosefe@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/mlx5/srq.h')
-rw-r--r--include/linux/mlx5/srq.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mlx5/srq.h b/include/linux/mlx5/srq.h
index 1cde0fd53f90..24ff23e27c8a 100644
--- a/include/linux/mlx5/srq.h
+++ b/include/linux/mlx5/srq.h
@@ -38,6 +38,7 @@
enum {
MLX5_SRQ_FLAG_ERR = (1 << 0),
MLX5_SRQ_FLAG_WQ_SIG = (1 << 1),
+ MLX5_SRQ_FLAG_RNDV = (1 << 2),
};
struct mlx5_srq_attr {
@@ -56,6 +57,10 @@ struct mlx5_srq_attr {
u32 user_index;
u64 db_record;
__be64 *pas;
+ u32 tm_log_list_size;
+ u32 tm_next_tag;
+ u32 tm_hw_phase_cnt;
+ u32 tm_sw_phase_cnt;
};
struct mlx5_core_dev;