CVSROOT: /cvs Module name: src Changes by: v...@cvs.openbsd.org 2020/09/04 09:18:05
Modified files: sys/arch/octeon/dev: cn30xxgmx.c cn30xxgmxvar.h cn30xxpip.c cn30xxpipreg.h cn30xxpipvar.h if_cnmac.c if_cnmacvar.h sys/arch/octeon/include: octeonvar.h Log message: Add kstat to cnmac(4) This makes various receive and transmit event counters readable. This additionally replaces the old, and somewhat unusual, way of updating error counters in ifp. Most of the hardware counters are 32 bits wide. Hence the code polls them periodically and adds the values to 64-bit software counters. The hardware counters are cleared when read.