]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
ixgbevf: Fix mailbox interrupt ack bug
authorGreg Rose <gregory.v.rose@intel.com>
Wed, 1 Feb 2012 01:28:15 +0000 (01:28 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 3 Feb 2012 11:05:49 +0000 (03:05 -0800)
commit3a2c40336b5ee112f6a2bc784e79aa6124d7acf6
tree30f27d304c5543f81cd14d31314cf22818645cb6
parent1bba2e81f5575825b59146f982004415d3751e6b
ixgbevf: Fix mailbox interrupt ack bug

Remove jump to out label that was skipping over code to replace the
ack bit in the mailbox cache variable.  This was causing driver mailbox
routines that poll for the PF to ack a message to time out which would
in turn cause all other mailbox messages to fail.  Also replace the
mailbox cache variable message indication bit when a message is found
so that other functions that choose to poll for a mailbox message from
the PF won't miss it.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Robert E Garrett <robertX.e.garrett@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/vf.c