linux/drivers/net/ethernet/intel/e1000e
Stefan Assmann d5ea45da1f e1000e: 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-04-06 14:05:24 -07:00
..
80003es2lan.c e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
80003es2lan.h e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
82571.c e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
82571.h e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
defines.h e1000e: Adds hardware supported cross timestamp on e1000e nic 2016-03-03 14:28:46 -08:00
e1000.h e1000e: call ndo_stop() instead of dev_close() when running offline selftest 2016-04-06 14:05:24 -07:00
ethtool.c e1000e: call ndo_stop() instead of dev_close() when running offline selftest 2016-04-06 14:05:24 -07:00
hw.h e1000e: Initial support for KabeLake 2016-02-24 14:53:30 -08:00
ich8lan.c e1000e: Clear ULP configuration register on ULP exit 2016-02-24 14:50:21 -08:00
ich8lan.h e1000e: Clear ULP configuration register on ULP exit 2016-02-24 14:50:21 -08:00
mac.c e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
mac.h e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
Makefile e1000e: Cleanup - Update GPL header and Copyright 2014-03-07 21:55:27 -08:00
manage.c e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
manage.h e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
netdev.c e1000e: call ndo_stop() instead of dev_close() when running offline selftest 2016-04-06 14:05:24 -07:00
nvm.c e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
nvm.h e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
param.c e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
phy.c e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
phy.h e1000e: Bump the version to 3.2.5 2015-06-03 04:13:39 -07:00
ptp.c e1000e: Adds hardware supported cross timestamp on e1000e nic 2016-03-03 14:28:46 -08:00
regs.h e1000e: Adds hardware supported cross timestamp on e1000e nic 2016-03-03 14:28:46 -08:00