]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: fix double 'NIC Link is Down' messages
authorSergey Nemov <sergey.nemov@intel.com>
Tue, 28 Aug 2018 17:16:06 +0000 (10:16 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 25 Sep 2018 20:06:50 +0000 (13:06 -0700)
commitfd712d484cc0ddd7717876d9e9173e6963ec44c3
tree1858c9ead992b3ab0e1ae9e3cecf702f06cf9196
parent977f9821877b1e7241643ba2c274b2f30783b6bf
i40e: fix double 'NIC Link is Down' messages

When isup is false meaning that interface is going to shut down
set new speed to 0 to avoid double 'NIC Link is Down' messages.

Signed-off-by: Sergey Nemov <sergey.nemov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c