igbvf: force link checking when mailbox timeout has occurred
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 18 Nov 2010 03:12:30 +0000 (03:12 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 25 Dec 2010 05:37:54 +0000 (21:37 -0800)
commit0e512bfc2c0cd6072387092f8d1ac8e1a758965b
treef0e89b00e350cb4e2a46e445266271bdd8cd8af2
parent13800469d40bf4dc9fbed17f4692b2ebe94d4526
igbvf: force link checking when mailbox timeout has occurred

This change forces the link down when a mailbox timeout has occurred.
Previously it was possible for a mailbox timeout to occur but for the
interface to stay up.  The problem with this was that it became possible
for an interface to stay up and miss multiple requests resulting in a
possible issue since the interface will be running in an unknown state.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/igbvf/vf.c