Workaround delays caused by vmem_check().

PR:		kern/197143
Submitted by:	Andriy Voskoboinyk <s3erios@gmail.com>
This commit is contained in:
Adrian Chadd 2015-03-15 21:30:20 +00:00
parent 2e79e29307
commit a5403e3157
2 changed files with 11 additions and 3 deletions

View File

@ -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);
}
}
}
/*

View File

@ -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