]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0a016f5ed66c5eaccb8d17ac04323bfb143394f4
tree0017d7c78c5ebf7aafa6b9a1462dd768df06662c
parent040bf591a11fbccffcaf69e0bea6408ef11df040
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