]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitfd835129ab21e6075c456908e3d29b11c8b20850
tree1858c9ead992b3ab0e1ae9e3cecf702f06cf9196
parented277c50c0752e11631bc79363385db0e1bb010a
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