created | 2023-06-27T11:47:26Z |
---|---|
begin | 2023-06-25T00:00:00Z |
end | 2023-06-26T00:00:00Z |
path | src/sys |
commits | 1 |
date | 2023-06-25T22:36:09Z | |||
---|---|---|---|---|
author | jmatthew | |||
files | src/sys/dev/fdt/if_dwge.c | log | diff | annotate |
message |
Provide kstats based on the byte and packet counters available in some dwge(4) implementations. The counters are all 32 bit, so enable reset-on-read and accumulate them into 64 bit software counters, and enable the MMC interrupts that indicate one or more counters is halfway to overflowing. Tested on an RK3399, which has the counters, and an Allwinner A20, which doesn't. ok dlg@ |