mirror of
https://github.com/opnsense/src.git
synced 2026-02-28 12:20:54 -05:00
r365732 was the first attempt to get an accurate count but it was writing to some read-only registers to clear them and that obviously didn't work. Instead, note the counter's value when it is supposed to be cleared and subtract it from future readings. dev.<port>.stats.rx_fcs_error should not be serviced from the MPS register for T6. The stats.* sysctls should all use T5_PORT_REG for T5 and above. This must have been missed in the initial T5 support years ago. Fix it while here. MFC after: 3 days Sponsored by: Chelsio Communications |
||
|---|---|---|
| .. | ||
| common.h | ||
| t4_hw.c | ||
| t4_hw.h | ||
| t4_msg.h | ||
| t4_regs.h | ||
| t4_regs_values.h | ||
| t4_tcb.h | ||
| t4vf_hw.c | ||