diff options
Diffstat (limited to 'usr/src/uts/common/io/rge/rge_main.c')
| -rwxr-xr-x | usr/src/uts/common/io/rge/rge_main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/src/uts/common/io/rge/rge_main.c b/usr/src/uts/common/io/rge/rge_main.c index 107cb01eca..446a928c4c 100755 --- a/usr/src/uts/common/io/rge/rge_main.c +++ b/usr/src/uts/common/io/rge/rge_main.c @@ -706,6 +706,13 @@ rge_reset(rge_t *rgep) mutex_exit(rgep->rc_lock); mutex_exit(rgep->rx_lock); + rgep->stats.rpackets = 0; + rgep->stats.rbytes = 0; + rgep->stats.opackets = 0; + rgep->stats.obytes = 0; + rgep->stats.tx_pre_ismax = B_FALSE; + rgep->stats.tx_cur_ismax = B_FALSE; + RGE_DEBUG(("rge_reset($%p) done", (void *)rgep)); } |
