diff options
author | PJ Waskiewicz <peter.p.waskiewicz.jr@intel.com> | 2008-06-27 11:00:39 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-07-04 08:47:01 -0400 |
commit | 844290e56067aed0a54142d756565abb9614136c (patch) | |
tree | c6c122522c64d2c383ccc7bb2389a0c713de7bb1 /drivers/net/igb/igb.h | |
parent | 662d7205b3db0bf9ebcae31f30ed72a1bceb47af (diff) | |
download | talos-obmc-linux-844290e56067aed0a54142d756565abb9614136c.tar.gz talos-obmc-linux-844290e56067aed0a54142d756565abb9614136c.zip |
igb: add NAPI Rx queue support
Update the NAPI implementation to use the new napi_struct infrstructure.
This removes the need of multiple net_device structs to implement a
multiqueue NAPI.
Signed-off-by: PJ Waskiewicz <peter.p.waskiewicz.jr.@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r-- | drivers/net/igb/igb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h index 0eecb8b2abd2..2c48eec17660 100644 --- a/drivers/net/igb/igb.h +++ b/drivers/net/igb/igb.h @@ -150,6 +150,7 @@ struct igb_ring { u16 itr_register; u16 cpu; + int queue_index; unsigned int total_bytes; unsigned int total_packets; @@ -265,6 +266,7 @@ struct igb_adapter { int msg_enable; struct msix_entry *msix_entries; u32 eims_enable_mask; + u32 eims_other; /* to not mess up cache alignment, always add to the bottom */ unsigned long state; |