• Alessandro Rubini's avatar
    kernel: make wr_pstats and wr_nic talk · 2c6d94ee
    Alessandro Rubini authored
    wr_nic now exports wr_nic_pstats_callback as a pointer. When wr_pstats
    is loaded it writes its own pointer in there.
    
    wr_nic can thus ask for statistics and updated net_device_stats with
    the proper numbers.   The statistics on snmp reflect this, because
    snmpd uses the standard device ioctl commands -- but very few of our
    counters actually end up all the way to snmp.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    2c6d94ee
Name
Last commit
Last update
..
Makefile Loading commit data...
device.c Loading commit data...
dmtd.c Loading commit data...
endpoint.c Loading commit data...
ethtool.c Loading commit data...
module.c Loading commit data...
nic-core.c Loading commit data...
nic-hardware.h Loading commit data...
nic-mem.h Loading commit data...
pps.c Loading commit data...
timestamp.c Loading commit data...
wr-nic.h Loading commit data...