]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf3581658657a01d260bc7a8e2cc08c2d5b6f4bc
treee1bcbe1e3b19396049ba82462c547a1da356c53d
parentbc2dea1f3e4174358f29255747bd714233be07f8
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