The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=e67697869e7208e4fe5eb96ce3f3d1240b44d2e1
commit e67697869e7208e4fe5eb96ce3f3d1240b44d2e1 Author: Brian Scott <[email protected]> AuthorDate: 2026-09-09 14:33:14 +0000 Commit: Mitchell Horne <[email protected]> CommitDate: 2026-09-21 22:43:31 +0000 eqos: Reduce RX error noisiness Reduce very common console messages: Receive error rdes3=30208000 As observed on the VisionFive v2 hardware after some large transfers. Differentiate between overflow errors and others. Report the errors when the length is non-zero (overflow errors). Also, count errors for netstat purposes. Reviewed by: mhorne MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D59479 --- sys/dev/eqos/if_eqos.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sys/dev/eqos/if_eqos.c b/sys/dev/eqos/if_eqos.c index e07d6b48f723..32cbe56b2d6c 100644 --- a/sys/dev/eqos/if_eqos.c +++ b/sys/dev/eqos/if_eqos.c @@ -702,8 +702,16 @@ eqos_rxintr(struct eqos_softc *sc) if ((rdes3 & EQOS_RDES3_OWN)) break; - if (rdes3 & (EQOS_RDES3_OE | EQOS_RDES3_RE)) + if (rdes3 & EQOS_RDES3_RE) { printf("Receive error rdes3=%08x\n", rdes3); + if_inc_counter(ifp, IFCOUNTER_IERRORS, 1); + } + if (rdes3 & EQOS_RDES3_OE) { + if (rdes3 & EQOS_RDES3_LENGTH_MASK) { + printf("Receive overflow error rdes3=%08x\n", rdes3); + } + if_inc_counter(ifp, IFCOUNTER_IERRORS, 1); + } bus_dmamap_sync(sc->rx.buf_tag, sc->rx.buf_map[sc->rx.head].map, BUS_DMASYNC_POSTREAD);
