Commit 844290e5 authored by PJ Waskiewicz's avatar PJ Waskiewicz Committed by Jeff Garzik

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: default avatarPJ Waskiewicz <peter.p.waskiewicz.jr.@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 662d7205
......@@ -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;
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment