aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBruce Allan <[email protected]>2009-11-20 23:24:30 +0000
committerDavid S. Miller <[email protected]>2009-11-21 11:34:01 -0800
commitb16a002e3da0357771433aa58a2521da00aa792a (patch)
tree96382b6d6cbbfa8d7aa392a3cba0edce6b25be07 /tools/perf/scripts/python
parentbb436b20fe0ea4231a233aae7f0f7de3a3f2f5c3 (diff)
e1000e: Incorrect MII Link beat reporting.
The driver was only updating MII stats when an LSC up was detected and the interface had not already been reported up to netdev. This meant MII stats returned in response to an SIOCGMIIREG ioctl would always show a link up if it had ever been up. This was misleading the networking daemon guessnet, which uses this ioctl, into making improper network port selections. This fix adds a call to e1000_phy_read_status() to actively read the mii stats before responding to the SIOCGMIIREG ioctl. Signed-off-by: Bruce Allan <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions