Changeset ec2e4b1 in rtems-libbsd


Ignore:
Timestamp:
Jan 9, 2017, 12:24:33 PM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5283630d2c9d40deb0183696d278e02644fe4326, bc2ba9a9cdc7381c2a4f2ae6ee303be636f31368
Children:
6cd057d
Parents:
e392c989
git-author:
Sebastian Huber <sebastian.huber@…> (01/09/17 12:24:33)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/10/17 08:53:33)
Message:

if_dwc: Fix IFCOUNTER_OPACKETS statistics

Output packets are counted in dwc_harvest_stats() as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/dev/dwc/if_dwc.c

    re392c989 rec2e4b1  
    737737                sc->tx_idx_tail = next_txidx(sc, sc->tx_idx_tail);
    738738                ifp->if_drv_flags &= ~IFF_DRV_OACTIVE;
    739                 if_inc_counter(ifp, IFCOUNTER_OPACKETS, 1);
    740739        }
    741740
Note: See TracChangeset for help on using the changeset viewer.