diff options
-rw-r--r-- | sys/dev/cxgbe/t4_sge.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/cxgbe/t4_sge.c b/sys/dev/cxgbe/t4_sge.c index 5f40f5c..89eee2d 100644 --- a/sys/dev/cxgbe/t4_sge.c +++ b/sys/dev/cxgbe/t4_sge.c @@ -1337,7 +1337,7 @@ t4_wrq_tx_locked(struct adapter *sc, struct sge_wrq *wrq, struct wrqe *wr) eq->pidx -= eq->cap; eq->pending += ndesc; - if (eq->pending > 16) + if (eq->pending >= 8) ring_eq_db(sc, eq); wrq->tx_wrs++; @@ -1508,8 +1508,8 @@ t4_eth_tx(struct ifnet *ifp, struct sge_txq *txq, struct mbuf *m) if (sgl.nsegs == 0) m_freem(m); doorbell: - if (eq->pending >= 64) - ring_eq_db(sc, eq); + if (eq->pending >= 8) + ring_eq_db(sc, eq); can_reclaim = reclaimable(eq); if (can_reclaim >= 32) |