|
@@ -4585,8 +4585,8 @@ beiscsi_offload_connection(struct beiscsi_conn *beiscsi_conn,
|
|
|
doorbell |= (pwrb_handle->wrb_index & DB_DEF_PDU_WRB_INDEX_MASK)
|
|
|
<< DB_DEF_PDU_WRB_INDEX_SHIFT;
|
|
|
doorbell |= 1 << DB_DEF_PDU_NUM_POSTED_SHIFT;
|
|
|
-
|
|
|
- iowrite32(doorbell, phba->db_va + DB_TXULP0_OFFSET);
|
|
|
+ iowrite32(doorbell, phba->db_va +
|
|
|
+ beiscsi_conn->doorbell_offset);
|
|
|
}
|
|
|
|
|
|
static void beiscsi_parse_pdu(struct iscsi_conn *conn, itt_t itt,
|
|
@@ -4811,7 +4811,8 @@ int beiscsi_iotask_v2(struct iscsi_task *task, struct scatterlist *sg,
|
|
|
DB_DEF_PDU_WRB_INDEX_MASK) <<
|
|
|
DB_DEF_PDU_WRB_INDEX_SHIFT;
|
|
|
doorbell |= 1 << DB_DEF_PDU_NUM_POSTED_SHIFT;
|
|
|
- iowrite32(doorbell, phba->db_va + DB_TXULP0_OFFSET);
|
|
|
+ iowrite32(doorbell, phba->db_va +
|
|
|
+ beiscsi_conn->doorbell_offset);
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
@@ -4866,7 +4867,8 @@ static int beiscsi_iotask(struct iscsi_task *task, struct scatterlist *sg,
|
|
|
DB_DEF_PDU_WRB_INDEX_MASK) << DB_DEF_PDU_WRB_INDEX_SHIFT;
|
|
|
doorbell |= 1 << DB_DEF_PDU_NUM_POSTED_SHIFT;
|
|
|
|
|
|
- iowrite32(doorbell, phba->db_va + DB_TXULP0_OFFSET);
|
|
|
+ iowrite32(doorbell, phba->db_va +
|
|
|
+ beiscsi_conn->doorbell_offset);
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
@@ -4968,7 +4970,8 @@ static int beiscsi_mtask(struct iscsi_task *task)
|
|
|
doorbell |= (io_task->pwrb_handle->wrb_index &
|
|
|
DB_DEF_PDU_WRB_INDEX_MASK) << DB_DEF_PDU_WRB_INDEX_SHIFT;
|
|
|
doorbell |= 1 << DB_DEF_PDU_NUM_POSTED_SHIFT;
|
|
|
- iowrite32(doorbell, phba->db_va + DB_TXULP0_OFFSET);
|
|
|
+ iowrite32(doorbell, phba->db_va +
|
|
|
+ beiscsi_conn->doorbell_offset);
|
|
|
return 0;
|
|
|
}
|
|
|
|