summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorBrice Goglin <brice@myri.com>2009-04-16 02:23:56 (GMT)
committerDavid S. Miller <davem@davemloft.net>2009-04-17 01:00:43 (GMT)
commit590818250684d18bb0e30c45d79971dcdff96ad0 (patch)
tree74569b7dc4061819495b00ac4321a30f78791dad /drivers/video
parenta54bfa40fd16aeb90bc556189221576f746f8567 (diff)
downloadlinux-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/video')
0 files changed, 0 insertions, 0 deletions