• 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
binaries Loading commit data...
build Loading commit data...
configs Loading commit data...
doc Loading commit data...
kernel Loading commit data...
patches Loading commit data...
robustness/coding Loading commit data...
scripts Loading commit data...
usb-loader Loading commit data...
userspace Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
Makefile.kconfig Loading commit data...
README Loading commit data...