mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Always enable TXOK interrupts when setting up TX queues for EDMA NICs.
This commit is contained in:
parent
b7a7c6d0c3
commit
6961e9eda4
1 changed files with 7 additions and 1 deletions
|
|
@ -3468,7 +3468,13 @@ ath_txq_setup(struct ath_softc *sc, int qtype, int subtype)
|
|||
* up in which case the top half of the kernel may backup
|
||||
* due to a lack of tx descriptors.
|
||||
*/
|
||||
qi.tqi_qflags = HAL_TXQ_TXEOLINT_ENABLE | HAL_TXQ_TXDESCINT_ENABLE;
|
||||
if (sc->sc_isedma)
|
||||
qi.tqi_qflags = HAL_TXQ_TXEOLINT_ENABLE |
|
||||
HAL_TXQ_TXOKINT_ENABLE;
|
||||
else
|
||||
qi.tqi_qflags = HAL_TXQ_TXEOLINT_ENABLE |
|
||||
HAL_TXQ_TXDESCINT_ENABLE;
|
||||
|
||||
qnum = ath_hal_setuptxqueue(ah, qtype, &qi);
|
||||
if (qnum == -1) {
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue