]> 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)
commit2be0d54ae0817f3f2f800a56d32807a043a3adda
treee1bcbe1e3b19396049ba82462c547a1da356c53d
parent707adc04daa6ad6faa8071848d48bbb8a031c67c
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