aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2008-12-26 04:34:11 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-26 04:34:11 -0500
commit26bc19ecf6c077c926827c25631340fd2e8fb16e (patch)
treefab4cb0d2c633b5f336046dcd3416d26ef3e08e0 /drivers/net/igb/igb.h
parent0e014cb16234c3797aa518d46fe7e1fe91ebcca9 (diff)
igb: re-order queues to support cleaner use of ivar on 82576
The 82576 adapter orders the queues in pairs when virtualization is in use. The queue ordering previously conflicted with the ordering when sr-iov was enabled. This new ordering allows a PF to allocate 2 queues without using any VF resources. 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>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r--drivers/net/igb/igb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h
index c90632524fda..5a27825cc48a 100644
--- a/drivers/net/igb/igb.h
+++ b/drivers/net/igb/igb.h
@@ -159,7 +159,8 @@ struct igb_ring {
159 u16 itr_register; 159 u16 itr_register;
160 u16 cpu; 160 u16 cpu;
161 161
162 int queue_index; 162 u16 queue_index;
163 u16 reg_idx;
163 unsigned int total_bytes; 164 unsigned int total_bytes;
164 unsigned int total_packets; 165 unsigned int total_packets;
165 166