@@ -133,6 +133,10 @@ enum pvrdma_wc_flags {
PVRDMA_WC_FLAGS_MAX = PVRDMA_WC_WITH_NETWORK_HDR_TYPE,
};
+enum pvrdma_user_qp_create_flags {
+ PVRDMA_USER_QP_CREATE_USE_RESP = 1 << 0,
+};
+
struct pvrdma_alloc_ucontext_resp {
__u32 qp_tab_size;
__u32 reserved;
@@ -177,6 +181,15 @@ struct pvrdma_create_qp {
__u32 rbuf_size;
__u32 sbuf_size;
__aligned_u64 qp_addr;
+ __u32 flags;
+ __u32 reserved;
+};
+
+struct pvrdma_create_qp_resp {
+ __u32 qpn;
+ __u32 qp_handle;
+ __u32 qpn_valid;
+ __u32 reserved;
};
/* PVRDMA masked atomic compare and swap */