ifp->if_ierrors += 0ULL + /* ensure quad_t */
+ CSR_READ(sc, WMREG_CRCERRS) /* CRC Error Count */
+ CSR_READ(sc, WMREG_ALGNERRC) /* Alignment Error Count */
+ CSR_READ(sc, WMREG_SYMERRC) /* Symbol Error Count */
+ CSR_READ(sc, WMREG_RXERRC) /* receive error Count - R/clr */
+ CSR_READ(sc, WMREG_SEC) /* Sequence Error Count */
+ CSR_READ(sc, WMREG_CEXTERR) /* Carrier Extension Error Count */
+ CSR_READ(sc, WMREG_RLEC); /* Receive Length Error Count */
I rebooted the system a few hours ago, and there are some Ierrs again
already:
tethys# netstat -i
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Colls
wm0 1500 <Link> 00:30:48:xx:xx:xx 2385235 714 1996966 0 0
[...]
Some more information (system ist running NetBSD/amd64 6.1.5):
wm0 at pci7 dev 0 function 0: Intel i82573E IAMT (rev. 0x03)
wm0: interrupting at ioapic0 pin 16
wm0: PCI-Express bus
wm0: 256 word (8 address bits) SPI EEPROM
wm0: Ethernet address 00:30:48:xx:xx:xx
makphy0 at wm0 phy 1: Marvell 88E1111 Gigabit PHY, rev. 2
wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx,TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
enabled=3f80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
address: 00:30:48:xx:xx:xx
media: Ethernet autoselect (100baseTX full-duplex,flowcontrol,rxpause,txpause)
status: active
inet 212.62.xx.xx netmask 0xfffffff8 broadcast 212.62.xx.xx
inet6 fe80::230:48ff:xxxx:xxxx%wm0 prefixlen 64 scopeid 0x1