]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5fe3e38303261dc67df5816c5b95b51707c0f24f
tree3d9cd1d339b150277fe424e7fc9f3aa2a9716665
parent42817ee7f06ba4e99719c0297c59a41c4abdc692
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