]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ixgbevf: cleanup redundant mailbox read failure check
authorDon Skidmore <donald.c.skidmore@intel.com>
Tue, 1 Oct 2013 11:33:49 +0000 (04:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2013 16:49:48 +0000 (12:49 -0400)
commitc7bb417dbb8888cfd20824d54f9af9c92b9ff43d
treed903a9a8738af296c6560c1e2e181f21de05ff2e
parentfa07f10d9dfc18c9aa285947c3a557e30f78c275
ixgbevf: cleanup redundant mailbox read failure check

Since we are already checking for read failure in check_link we don't need
to do it here. Instead just make sure the watchdog task gets scheduled, if
we are up, and it can be done there. This will better follow igbvf method
of handling a mailbox event and message timeout.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c