It's normal to see Rx FIFO overruns under high network load and
showing the message creates other side-effects. Remove the Rx FIFO overrun message in interrupt handler. msk(4) should recover from the FIFO overruns without any user intervention. Users can still check the Rx FIFO overrun counter from MAC MIB statistics maintained in driver(dev.msk.0.stats.rx.overflows).
This commit is contained in:
parent
56964c4c9f
commit
ff08021657
@ -3217,11 +3217,9 @@ msk_intr_gmac(struct msk_if_softc *sc_if)
|
||||
status = CSR_READ_1(sc, MR_ADDR(sc_if->msk_port, GMAC_IRQ_SRC));
|
||||
|
||||
/* GMAC Rx FIFO overrun. */
|
||||
if ((status & GM_IS_RX_FF_OR) != 0) {
|
||||
if ((status & GM_IS_RX_FF_OR) != 0)
|
||||
CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, RX_GMF_CTRL_T),
|
||||
GMF_CLI_RX_FO);
|
||||
device_printf(sc_if->msk_if_dev, "Rx FIFO overrun!\n");
|
||||
}
|
||||
/* GMAC Tx FIFO underrun. */
|
||||
if ((status & GM_IS_TX_FF_UR) != 0) {
|
||||
CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, TX_GMF_CTRL_T),
|
||||
|
Loading…
x
Reference in New Issue
Block a user