summaryrefslogtreecommitdiff
path: root/REPORTING-BUGS
diff options
context:
space:
mode:
authorManish Chopra <manish.chopra@cavium.com>2018-08-23 13:20:52 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-15 09:40:37 +0200
commit375e88743c94e9b9871b9e50c66e11b40667530f (patch)
treea7bfbd877b70b06665d49938f2ded0f0b8ee1480 /REPORTING-BUGS
parente1e4b0be0dec7bd5fb1f125c942770903f7d6eb1 (diff)
qlge: Fix netdev features configuration.
[ Upstream commit 6750c87074c5b534d82fdaabb1deb45b8f1f57de ] 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 <manish.chopra@cavium.com> Reviewed-by: Benjamin Poirier <bpoirier@suse.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions