OSDN Git Service

ixgbe: commonize ixgbe_map_rings_to_vectors to work for all interrupt types
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 15 Jul 2011 03:05:51 +0000 (03:05 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 16 Sep 2011 04:16:43 +0000 (21:16 -0700)
commit4cc6df29d9f4cf90dad8167cbbf5c21810ae56cf
treef7ed23af5645ec715141d129e6059dc4eb7b3ed9
parent263a84e785deb3613bbdd01a071b0bde429c3804
ixgbe: commonize ixgbe_map_rings_to_vectors to work for all interrupt types

This patch makes it so that the map_rings_to_vectors call will work with
all interrupt types.  The advantage to this is that there will now be a
predictable mapping for all given interrupt types.

Signed-off-by: Alexander Duyck <alexander.h.duyck@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_main.c