diff options
author | Amrani, Ram <Ram.Amrani@cavium.com> | 2017-06-26 19:05:05 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-27 15:59:52 +0300 |
commit | ad84dad2160d5f36bb471b391462d651c887d693 (patch) | |
tree | 71de6dd7a72915810ff6089327f189bccdc25955 /include/uapi | |
parent | 9c2d33d44dccfb0cdac987ddc3716527ebf971e0 (diff) | |
download | linux-ad84dad2160d5f36bb471b391462d651c887d693.tar.xz |
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')
-rw-r--r-- | include/uapi/rdma/qedr-abi.h | 1 |
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 { |