OpenGrok
Cross Reference: if_stats.c
xref
: /
src
/
sys
/
net
/
if_stats.c
Home
|
History
|
Annotate
|
Download
|
only in
net
History log of
/src/sys/net/if_stats.c
Revision
Date
Author
Comments
1.5
29-Jun-2024
riastradh
if_stats(9): New dtrace probes on if_statinc/dec/add/sub.
Note: This doesn't apply to if_statinc/dec/add/sub_ref, because we
don't have the ifp passed through. To be done in a separate commit
which also adjusts all drivers.
PR kern/58377
1.4
29-Jun-2021
riastradh
Make if_stats_init, if_attach, if_initialize return void.
percpu_alloc can't fail.
Author: Maya Rashish <maya@NetBSD.org>
Committer: Taylor R Campbell <riastradh@NetBSD.org>
1.3
14-Feb-2020
thorpej
branches: 1.3.2; 1.3.6; 1.3.14;
Remove the conditional __IF_STATS_PERCPU.
1.2
07-Feb-2020
thorpej
Use percpu_foreach_xcall() to gather volatile per-cpu counters. These
must be serialized against the interrupts / soft-interrupts in which
they're manipulated, as well as protected from non-atomic 64-bit memory
loads on 32-bit platforms.
1.1
29-Jan-2020
thorpej
Add support for MP-safe network interface statistics by maintaining them
in per-cpu storage, and collecting them for export in an if_data structure
when user-space wants them.
The new if_stat API is structured to make a gradual transition to the
new way in network drivers possible, and per-cpu stats are currently
disabled (thus there is no kernel ABI change). Once all drivers have
been converted, the old ABI will be removed, and per-cpu stats will be
enabled universally.
1.3.14.1
01-Aug-2021
thorpej
Sync with HEAD.
1.3.6.2
08-Apr-2020
martin
Merge changes from current as of 20200406
1.3.6.1
14-Feb-2020
martin
file if_stats.c was added on branch phil-wifi on 2020-04-08 14:08:57 +0000
1.3.2.2
29-Feb-2020
ad
Sync with head.
1.3.2.1
14-Feb-2020
ad
file if_stats.c was added on branch ad-namecache on 2020-02-29 20:21:06 +0000
Indexes created Tue Oct 14 21:09:58 GMT 2025