IB/uverbs: Add XRQ creation parameter to UAPI
authorArtemy Kovalyov <artemyko@mellanox.com>
Thu, 17 Aug 2017 12:52:06 +0000 (15:52 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 29 Aug 2017 12:30:17 +0000 (08:30 -0400)
Add tm_list_size parameter to struct ib_uverbs_create_xsrq.
If SRQ type is tag-matching this field defines maximum size
of tag matching list. Otherwise, it is expected to be zero.

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>
include/uapi/rdma/ib_user_verbs.h

index 63656d2e87056708a83bd8b88f6349e3fbdc0785..d5434bbf40c8d83a1d680ac45d101e87feaf234f 100644 (file)
@@ -1024,7 +1024,7 @@ struct ib_uverbs_create_xsrq {
        __u32 max_wr;
        __u32 max_sge;
        __u32 srq_limit;
-       __u32 reserved;
+       __u32 max_num_tags;
        __u32 xrcd_handle;
        __u32 cq_handle;
        __u64 driver_data[0];