Changeset ec2e4b1 in rtems-libbsd


Ignore:
Timestamp:
Jan 9, 2017, 12:24:33 PM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, 7f47f2784138109b8363804c2aecd3d83231ab0f, f1f03620800b14146977d78fb4322d80da04b53a, 77938ac3e3f409635591e3bc0a4917edba4d78f5
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.