summaryrefslogtreecommitdiff
path: root/include/uapi/rdma/qedr-abi.h
diff options
context:
space:
mode:
authorAmrani, Ram <Ram.Amrani@cavium.com>2017-06-26 19:05:05 +0300
committerDoug Ledford <dledford@redhat.com>2017-07-27 08:59:52 -0400
commitad84dad2160d5f36bb471b391462d651c887d693 (patch)
tree71de6dd7a72915810ff6089327f189bccdc25955 /include/uapi/rdma/qedr-abi.h
parent9c2d33d44dccfb0cdac987ddc3716527ebf971e0 (diff)
RDMA/qedr: notify user application if DPM is supported
Direct Packet Mode support may be disabled, e.g, due to limited resources. Notifying the user application prevents wasting cycles on attempting to send these kind of packets. Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi/rdma/qedr-abi.h')
-rw-r--r--include/uapi/rdma/qedr-abi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/rdma/qedr-abi.h b/include/uapi/rdma/qedr-abi.h
index 75c270d839c8..2684004ec4fd 100644
--- a/include/uapi/rdma/qedr-abi.h
+++ b/include/uapi/rdma/qedr-abi.h
@@ -49,6 +49,7 @@ struct qedr_alloc_ucontext_resp {
__u32 sges_per_recv_wr;
__u32 sges_per_srq_wr;
__u32 max_cqes;
+ __u8 dpm_enabled;
};
struct qedr_alloc_pd_ureq {