Workaround delays caused by vmem_check().
PR: kern/197143 Submitted by: Andriy Voskoboinyk <s3erios@gmail.com>
This commit is contained in:
parent
2e79e29307
commit
a5403e3157
@ -2188,10 +2188,12 @@ wpi_notif_intr(struct wpi_softc *sc)
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Tell the firmware what we have processed. */
|
||||
wpi_update_rx_ring(sc);
|
||||
if (sc->rxq.cur % 8 == 0) {
|
||||
/* Tell the firmware what we have processed. */
|
||||
wpi_update_rx_ring(sc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -20,7 +20,13 @@
|
||||
#define WPI_TX_RING_COUNT 256
|
||||
#define WPI_TX_RING_LOMARK 192
|
||||
#define WPI_TX_RING_HIMARK 224
|
||||
|
||||
#ifdef DIAGNOSTIC
|
||||
#define WPI_RX_RING_COUNT_LOG 8
|
||||
#else
|
||||
#define WPI_RX_RING_COUNT_LOG 6
|
||||
#endif
|
||||
|
||||
#define WPI_RX_RING_COUNT (1 << WPI_RX_RING_COUNT_LOG)
|
||||
|
||||
#define WPI_NTXQUEUES 8
|
||||
|
Loading…
Reference in New Issue
Block a user