diff options
author | Ajit Khaparde <ajitk@serverengines.com> | 2009-11-29 18:57:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-02 09:50:26 +0100 |
commit | 0dffc83e5b831df1df83dfe32a0c267347f9950b (patch) | |
tree | dad072dd1c206cdcb0e55ccfa92276a1bca54123 /drivers/net/ps3_gelic_net.h | |
parent | be2net: Add be_rx_polls counter (diff) | |
download | linux-0dffc83e5b831df1df83dfe32a0c267347f9950b.tar.xz linux-0dffc83e5b831df1df83dfe32a0c267347f9950b.zip |
be2net: fix unnecessary access to hardware to get link, port info
Every time while doing ethtool->get_settings we are accessing
the hardware to get link status and port information.
This is not necessary. We now use the cached copy for this info
and update it when the link status changes.
From: Suresh R <sureshr@serverengines.com>
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ps3_gelic_net.h')
0 files changed, 0 insertions, 0 deletions