net/bnxt: fix interrupt rearm logic
Rearm will intimate hardware that current interrupts are processed and it can continue to send more. Fixes: 1fe427fd08ee ("net/bnxt: support enable/disable interrupt") Cc: stable@dpdk.org Signed-off-by: Rahul Gupta <rahul.gupta@broadcom.com> Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
This commit is contained in:
parent
d261c9ef56
commit
c79012a3b0
@ -374,7 +374,7 @@ bnxt_rx_queue_intr_enable_op(struct rte_eth_dev *eth_dev, uint16_t queue_id)
|
||||
return rc;
|
||||
}
|
||||
cpr = rxq->cp_ring;
|
||||
B_CP_DB_ARM(cpr);
|
||||
B_CP_DB_REARM(cpr, cpr->cp_raw_cons);
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user