diff options
author | Brice Goglin <brice@myri.com> | 2009-04-16 02:23:56 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-17 01:00:43 (GMT) |
commit | 590818250684d18bb0e30c45d79971dcdff96ad0 (patch) | |
tree | 74569b7dc4061819495b00ac4321a30f78791dad /drivers/zorro/.gitignore | |
parent | a54bfa40fd16aeb90bc556189221576f746f8567 (diff) | |
download | linux-fsl-qoriq-590818250684d18bb0e30c45d79971dcdff96ad0.tar.xz |
myri10ge: force stats update in ethtool gstats
Force a statistics update when our ethtool gstats routine
is called. Otherwise, ethtool will continue to read stale
stats until something forces an update by reading /proc/net/dev
This requires putting a lock around the stats update to guard
against 2 threads (one via ethtool, and one via procfs)
updating the stats at once.
Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/zorro/.gitignore')
0 files changed, 0 insertions, 0 deletions