]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: fix __ixgbe_notify_dca() bail out code
authorDon Skidmore <donald.c.skidmore@intel.com>
Wed, 20 Jul 2011 02:27:05 +0000 (02:27 +0000)
committerJoe Jin <joe.jin@oracle.com>
Fri, 3 Feb 2012 01:21:26 +0000 (09:21 +0800)
commit0afb14b537ebdc0a0e2844d867ba53f625acac12
treeca44d82d89f674686178f2ef59f13919f3280fb0
parent43d1ff19599c12438c64d01cf7df5476d2666a6b
ixgbe: fix __ixgbe_notify_dca() bail out code

The way __ixgbe_notify_dca() was currently set up it would not be
possible to add a requester. Both cases of the IXGBE_FLAG_DCA_ENABLED
bit being on and off would lead to the function exiting for a
DCA_PROVIDER_ADD.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 2a72c31ee4aa31b6a762390e4811a0edf5eefcef)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_main.c