ixgbe: move v_idx into q_vector and use as index only
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 4 Jun 2009 16:00:09 +0000 (16:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Jun 2009 12:20:20 +0000 (05:20 -0700)
commitfe49f04aa8c0f74c363cbb1e9852a0d7769b5a99
tree0017d7c78c5ebf7aafa6b9a1462dd768df06662c
parent21fa4e66bd0bedfa4ed6aa6f7008b2aff6d45c8d
ixgbe: move v_idx into q_vector and use as index only

The v_idx value was being used as both a bitmask and an index.  This change
makes it so that the q_vector contains the index and allows for much of the
code to be simplified since disabling a q_vector involves only clearing one
bit in the interrupt bitmask.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_main.c