]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitdcaccc825b5475266bf343defa086d7b70b599f9
tree4dbf4498803a5eb5cc274f4732be17af3db47462
parent7e3b4ffb38b550b42c3868cffedb734c3a507073
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