diff options
| author | Manish Chopra <[email protected]> | 2018-08-23 20:20:52 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-08-26 00:37:38 +0000 |
| commit | 6750c87074c5b534d82fdaabb1deb45b8f1f57de (patch) | |
| tree | 6c84f164eff5a7c25e49e5c2dafc84e6c7a37813 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | net: macb: do not disable MDIO bus at open/close time (diff) | |
| download | kernel-6750c87074c5b534d82fdaabb1deb45b8f1f57de.tar.gz kernel-6750c87074c5b534d82fdaabb1deb45b8f1f57de.zip | |
qlge: Fix netdev features configuration.
qlge_fix_features() is not supposed to modify hardware or
driver state, rather it is supposed to only fix requested
fetures bits. Currently qlge_fix_features() also goes for
interface down and up unnecessarily if there is not even
any change in features set.
This patch changes/fixes following -
1) Move reload of interface or device re-config from
qlge_fix_features() to qlge_set_features().
2) Reload of interface in qlge_set_features() only if
relevant feature bit (NETIF_F_HW_VLAN_CTAG_RX) is changed.
3) Get rid of qlge_fix_features() since driver is not really
required to fix any features bit.
Signed-off-by: Manish <[email protected]>
Reviewed-by: Benjamin Poirier <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
