ixgbe: return integer from ixgbe_acquire_msix_vectors
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 3 Sep 2014 08:12:55 +0000 (08:12 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 18 Sep 2014 10:39:57 +0000 (03:39 -0700)
commitd7de3c6e8154c0d0398127bcc09977e260fdff55
tree79b22e596b2e2bd7b945d70d2d5d84648205e62b
parent493043e5273b93b9f9a674cd554bb3757a800f10
ixgbe: return integer from ixgbe_acquire_msix_vectors

Similar to how ixgbevf handles acquiring MSI-X vectors, we can return an
error code instead of relying on the flag being set. This makes it more
clear that we have failed to setup MSI-X mode, and also will make it
easier to consolidate MSI-X related code all into the single function.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c
This page took 0.025367 seconds and 5 git commands to generate.