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:06 +0300
committerDoug Ledford <dledford@redhat.com>2017-07-27 15:59:52 +0300
commit67cbe3532c2cd84303a2073cedad6b8bcad13be3 (patch)
tree430ebb83bac7b2a7689276d788a276568f284c9d /include/uapi/rdma/qedr-abi.h
parentad84dad2160d5f36bb471b391462d651c887d693 (diff)
downloadlinux-67cbe3532c2cd84303a2073cedad6b8bcad13be3.tar.xz
RDMA/qedr: notify user application of supported WIDs
The number of supported WIDs, if they are supported at all, can be limited due to resources. Notifying the user space application the number of available WIDs allows it to utilize them correctly. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/rdma/qedr-abi.h b/include/uapi/rdma/qedr-abi.h
index 2684004ec4fd..54b64357ab24 100644
--- a/include/uapi/rdma/qedr-abi.h
+++ b/include/uapi/rdma/qedr-abi.h
@@ -50,6 +50,8 @@ struct qedr_alloc_ucontext_resp {
__u32 sges_per_srq_wr;
__u32 max_cqes;
__u8 dpm_enabled;
+ __u8 wids_enabled;
+ __u16 wid_count;
};
struct qedr_alloc_pd_ureq {