aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_verbs.h
diff options
context:
space:
mode:
authorMoni Shoua <monis@mellanox.com>2019-01-22 08:48:41 +0200
committerJason Gunthorpe <jgg@mellanox.com>2019-02-04 14:34:06 -0700
commitda82334219bc386ef7ea5b4b185a339a973dd513 (patch)
tree04c3a9d10c14009579585a94c4a1be280e34e2d9 /include/rdma/ib_verbs.h
parentIB/mlx5: Fix the locking of SRQ objects in ODP events (diff)
downloadlinux-dev-da82334219bc386ef7ea5b4b185a339a973dd513.tar.xz
linux-dev-da82334219bc386ef7ea5b4b185a339a973dd513.zip
IB/core: Allocate a bit for SRQ ODP support
The ODP support matrix is per operation and per transport. The support for each transport (RC, UD, etc.) is described with a bit field. ODP for SRQ WQEs is considered a different kind of support from ODP for RQ WQs and therefore needs a different capability bit. Signed-off-by: Moni Shoua <monis@mellanox.com> Reviewed-by: Majd Dibbiny <majd@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/ib_verbs.h')
-rw-r--r--include/rdma/ib_verbs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 5fc3be884444..5eefdea62831 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -268,6 +268,7 @@ enum ib_odp_transport_cap_bits {
IB_ODP_SUPPORT_WRITE = 1 << 2,
IB_ODP_SUPPORT_READ = 1 << 3,
IB_ODP_SUPPORT_ATOMIC = 1 << 4,
+ IB_ODP_SUPPORT_SRQ_RECV = 1 << 5,
};
struct ib_odp_caps {