|
@@ -3391,11 +3391,11 @@ static int bnxt_hwrm_ring_alloc(struct bnxt *bp)
|
|
|
struct bnxt_cp_ring_info *cpr = &bnapi->cp_ring;
|
|
|
struct bnxt_ring_struct *ring = &cpr->cp_ring_struct;
|
|
|
|
|
|
+ cpr->cp_doorbell = bp->bar1 + i * 0x80;
|
|
|
rc = hwrm_ring_alloc_send_msg(bp, ring, HWRM_RING_ALLOC_CMPL, i,
|
|
|
INVALID_STATS_CTX_ID);
|
|
|
if (rc)
|
|
|
goto err_out;
|
|
|
- cpr->cp_doorbell = bp->bar1 + i * 0x80;
|
|
|
BNXT_CP_DB(cpr->cp_doorbell, cpr->cp_raw_cons);
|
|
|
bp->grp_info[i].cp_fw_ring_id = ring->fw_ring_id;
|
|
|
}
|