]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Provide bce_get_counter() to return counters that are not collected,
authorGleb Smirnoff <glebius@FreeBSD.org>
Thu, 25 Sep 2014 07:22:24 +0000 (07:22 +0000)
committerGleb Smirnoff <glebius@FreeBSD.org>
Thu, 25 Sep 2014 07:22:24 +0000 (07:22 +0000)
commit5af6947046740202e589436161d76190377f8f90
treebf2e4a62bf99adb2573059222cd78d2eeb7908b7
parentd58a49d8295a016f3ab7778da8a69f009d7a80f5
- Provide bce_get_counter() to return counters that are not collected,
  but taken from hardware.
- Mechanically convert to if_inc_counter() the rest of counters.
- While here fix 3 instances of the same bug, when error counter was ++
  in one place and then assigned in other place, losing the increment.
  Achieve that storing soft errors counters in softc.
sys/dev/bce/if_bce.c
sys/dev/bce/if_bcereg.h