aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/rdma
diff options
context:
space:
mode:
authorGravatar Gal Pressman <galpress@amazon.com> 2020-07-22 17:03:10 +0300
committerGravatar Jason Gunthorpe <jgg@nvidia.com> 2020-07-29 09:23:39 -0300
commitda2924bdca99768442c5e0ed0a9024ae79d62765 (patch)
treedbeae2c7e229d24095d0e4c078f79fa1246bf743 /include/uapi/rdma
parentRDMA/efa: Expose maximum TX doorbell batch (diff)
downloadlinux-da2924bdca99768442c5e0ed0a9024ae79d62765.tar.gz
linux-da2924bdca99768442c5e0ed0a9024ae79d62765.tar.bz2
linux-da2924bdca99768442c5e0ed0a9024ae79d62765.zip
RDMA/efa: Expose minimum SQ size
The device reports the minimum SQ size required for creation. This patch queries the min SQ size and reports it back to the userspace library. Link: https://lore.kernel.org/r/20200722140312.3651-3-galpress@amazon.com Reviewed-by: Firas JahJah <firasj@amazon.com> Reviewed-by: Shadi Ammouri <sammouri@amazon.com> Signed-off-by: Gal Pressman <galpress@amazon.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/uapi/rdma')
-rw-r--r--include/uapi/rdma/efa-abi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/rdma/efa-abi.h b/include/uapi/rdma/efa-abi.h
index 10781763da37..7ef2306f8dd4 100644
--- a/include/uapi/rdma/efa-abi.h
+++ b/include/uapi/rdma/efa-abi.h
@@ -32,7 +32,8 @@ struct efa_ibv_alloc_ucontext_resp {
__u16 inline_buf_size;
__u32 max_llq_size; /* bytes */
__u16 max_tx_batch; /* units of 64 bytes */
- __u8 reserved_90[6];
+ __u16 min_sq_wr;
+ __u8 reserved_a0[4];
};
struct efa_ibv_alloc_pd_resp {