linux_dsm_epyc7002/drivers/net/ethernet/intel/igb
Stefan Assmann 46eafa59e1 igb: call ndo_stop() instead of dev_close() when running offline selftest
Calling dev_close() causes IFF_UP to be cleared which will remove the
interfaces routes and some addresses. That's probably not what the user
intended when running the offline selftest. Besides this does not happen
if the interface is brought down before the test, so the current
behaviour is inconsistent.
Instead call the net_device_ops ndo_stop function directly and avoid
touching IFF_UP at all.

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2016-02-24 15:54:39 -08:00
..
e1000_82575.c igb: constify e1000_phy_operations structure 2016-02-24 15:11:07 -08:00
e1000_82575.h igb: rename igb define to be more generic 2016-02-24 15:29:16 -08:00
e1000_defines.h igb: Allow asymmetric configuration of MTU versus Rx frame size 2016-02-15 16:27:21 -08:00
e1000_hw.h igb: constify e1000_phy_operations structure 2016-02-24 15:11:07 -08:00
e1000_i210.c igb: Remove GS40G specific defines/functions 2015-12-14 10:20:06 -08:00
e1000_i210.h igb: Remove GS40G specific defines/functions 2015-12-14 10:20:06 -08:00
e1000_mac.c igb: Merge VLVF configuration into igb_vfta_set 2016-02-15 16:36:52 -08:00
e1000_mac.h igb: Merge VLVF configuration into igb_vfta_set 2016-02-15 16:36:52 -08:00
e1000_mbx.c igb/igbvf: don't give up 2016-02-15 16:17:57 -08:00
e1000_mbx.h
e1000_nvm.c
e1000_nvm.h
e1000_phy.c igb: Improve cable length function for I210, etc. 2015-12-14 16:04:05 -08:00
e1000_phy.h igb: Remove GS40G specific defines/functions 2015-12-14 10:20:06 -08:00
e1000_regs.h igb: improve handling of disconnected adapters 2015-12-12 23:51:26 -08:00
igb_ethtool.c igb: call ndo_stop() instead of dev_close() when running offline selftest 2016-02-24 15:54:39 -08:00
igb_hwmon.c
igb_main.c igb: call ndo_stop() instead of dev_close() when running offline selftest 2016-02-24 15:54:39 -08:00
igb_ptp.c igb: add conditions for I210 to generate periodic clock output 2016-02-24 15:18:53 -08:00
igb.h igb: call ndo_stop() instead of dev_close() when running offline selftest 2016-02-24 15:54:39 -08:00
Makefile