]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Exit on error case in VF message processing
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 28 Mar 2012 08:03:38 +0000 (08:03 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 10 May 2012 05:02:05 +0000 (22:02 -0700)
commit7a336cf462aa6d4964bc32567e930c0ab3bebada
tree4dbf4498803a5eb5cc274f4732be17af3db47462
parent285cf8ec3dfb94f297d3dca4dc525f432779e1b5
ixgbe: Exit on error case in VF message processing

Previously we would get a mailbox error and still process the message.
Instead we should exit on error.

In addition we should also be flushing the ACK of the message so that we
can guarantee that the other end is aware we have received the message
while we are processing it.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c