Count number of inbound packets which were chosen to be discarded

as input errors. Also count out of receive BDs as input errors.
This commit is contained in:
yongari 2009-11-08 01:30:35 +00:00
parent 3c96eca4ff
commit d5d20b09ed

View File

@ -3547,7 +3547,9 @@ bge_stats_update_regs(struct bge_softc *sc)
ifp->if_collisions += CSR_READ_4(sc, BGE_MAC_STATS +
offsetof(struct bge_mac_stats_regs, etherStatsCollisions));
ifp->if_ierrors += CSR_READ_4(sc, BGE_RXLP_LOCSTAT_OUT_OF_BDS);
ifp->if_ierrors += CSR_READ_4(sc, BGE_RXLP_LOCSTAT_IFIN_DROPS);
ifp->if_ierrors += CSR_READ_4(sc, BGE_RXLP_LOCSTAT_IFIN_ERRORS);
}
static void