ixgbevf: Fix code for handling timeout
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 2 Aug 2012 01:16:59 +0000 (01:16 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 24 Sep 2012 07:21:51 +0000 (00:21 -0700)
commit4b2cd27f834e526f933aa63ce91964b7581271f4
treee1bcbe1e3b19396049ba82462c547a1da356c53d
parentc9d2ea96ca3bbc85264803ff6bd66eb3bbefdb77
ixgbevf: Fix code for handling timeout

The VF driver was not designed to correctly handle a message timeout.  As
a result it is possible for one bad message to invalidate all messages
following it until the part is reset.  Instead we should copy the example
in igbvf of how to handle a mailbox event and message timeout.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
drivers/net/ethernet/intel/ixgbevf/mbx.c
drivers/net/ethernet/intel/ixgbevf/vf.c