mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
mana: remove redundant doorbell in mana_poll_rx_cq()
With the last commit to refill the rx mbuf in batch, the doorbell
in mana_poll_rx_cq() becomes redundant. Remove it to save a few
microseconds spent in mmio call.
Reported by: NetApp
Reviewed by: Tallamraju, Sai
Tested by: whu
Fixes: 9b8701b8 ("mana: refill the rx mbuf in batch")
MFC after: 3 days
Sponsored by: Microsoft
This commit is contained in:
parent
f7856fe81d
commit
47f4137e44
1 changed files with 0 additions and 7 deletions
|
|
@ -1890,13 +1890,6 @@ mana_poll_rx_cq(struct mana_cq *cq)
|
|||
mana_process_rx_cqe(cq->rxq, cq, &comp[i]);
|
||||
}
|
||||
|
||||
if (comp_read > 0) {
|
||||
struct gdma_context *gc =
|
||||
cq->rxq->gdma_rq->gdma_dev->gdma_context;
|
||||
|
||||
mana_gd_wq_ring_doorbell(gc, cq->rxq->gdma_rq);
|
||||
}
|
||||
|
||||
tcp_lro_flush_all(&cq->rxq->lro);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue