RDMA/qedr: Add iWARP doorbell recovery support

This patch adds the iWARP specific doorbells to the doorbell recovery
mechanism.

Link: https://lore.kernel.org/r/20191030094417.16866-9-michal.kalderon@marvell.com
Signed-off-by: Ariel Elior <ariel.elior@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
此提交包含在:
Michal Kalderon
2019-10-30 11:44:17 +02:00
提交者 Jason Gunthorpe
父節點 97f6125092
當前提交 b4bc766097
共有 2 個檔案被更改,包括 43 行新增6 行删除

查看文件

@@ -238,6 +238,11 @@ struct qedr_ucontext {
bool db_rec;
};
union db_prod32 {
struct rdma_pwm_val16_data data;
u32 raw;
};
union db_prod64 {
struct rdma_pwm_val32_data data;
u64 raw;
@@ -268,6 +273,8 @@ struct qedr_userq {
void __iomem *db_addr;
struct qedr_user_db_rec *db_rec_data;
struct rdma_user_mmap_entry *db_mmap_entry;
void __iomem *db_rec_db2_addr;
union db_prod32 db_rec_db2_data;
};
struct qedr_cq {
@@ -303,11 +310,6 @@ struct qedr_pd {
struct qedr_ucontext *uctx;
};
union db_prod32 {
struct rdma_pwm_val16_data data;
u32 raw;
};
struct qedr_qp_hwq_info {
/* WQE Elements */
struct qed_chain pbl;