igb: add new data structure for handling interrupts and NAPI
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 27 Oct 2009 15:49:27 +0000 (15:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Oct 2009 08:20:16 +0000 (01:20 -0700)
commit047e0030f1e601233ae5b03910602ec93c620bce
tree3d9cd1d339b150277fe424e7fc9f3aa2a9716665
parent678b77e265f6d66f1e68f3d095841c44ba5ab112
igb: add new data structure for handling interrupts and NAPI

Add a new igb_q_vector data structure to handle interrupts and NAPI.  This
helps to abstract the rings away from the adapter struct.  In addition it
allows for a bit of consolidation since a tx and rx ring can share a
q_vector.

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/igb/igb.h
drivers/net/igb/igb_ethtool.c
drivers/net/igb/igb_main.c