summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRaju Rangoju <rajur@chelsio.com>2018-07-05 15:56:01 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-07-13 20:52:55 +0300
commit65ca8d9670b70aa8076054c0c23be032c6ac5c77 (patch)
tree56a9abe7bcd92b7e4a7a038f134410bbda1a0431 /include
parent15039efadd3c16307008becb24b0f9e0cebb2e04 (diff)
downloadlinux-65ca8d9670b70aa8076054c0c23be032c6ac5c77.tar.xz
rdma/cxgb4: Add support for 64Byte cqes
This patch adds support for iw_cxb4 to extend cqes from existing 32Byte size to 64Byte. Also includes adds backward compatibility support (for 32Byte) to work with older libraries. Signed-off-by: Raju Rangoju <rajur@chelsio.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/rdma/cxgb4-abi.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/uapi/rdma/cxgb4-abi.h b/include/uapi/rdma/cxgb4-abi.h
index a159ba8dcf8f..65c9eacd3ffb 100644
--- a/include/uapi/rdma/cxgb4-abi.h
+++ b/include/uapi/rdma/cxgb4-abi.h
@@ -44,6 +44,16 @@
* In particular do not use pointer types -- pass pointers in __aligned_u64
* instead.
*/
+
+enum {
+ C4IW_64B_CQE = (1 << 0)
+};
+
+struct c4iw_create_cq {
+ __u32 flags;
+ __u32 reserved;
+};
+
struct c4iw_create_cq_resp {
__aligned_u64 key;
__aligned_u64 gts_key;
@@ -51,7 +61,7 @@ struct c4iw_create_cq_resp {
__u32 cqid;
__u32 size;
__u32 qid_mask;
- __u32 reserved; /* explicit padding (optional for i386) */
+ __u32 flags;
};
enum {