]> 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)
commit610dc07f7b3194e0e5575d8018d7282314d935de
tree4dbf4498803a5eb5cc274f4732be17af3db47462
parent529a2ad62b03c778a5156d97219f79206ab02418
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