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>
This commit is contained in:
committed by
David S. Miller
parent
0e014cb162
commit
26bc19ecf6
@@ -159,7 +159,8 @@ struct igb_ring {
|
||||
u16 itr_register;
|
||||
u16 cpu;
|
||||
|
||||
int queue_index;
|
||||
u16 queue_index;
|
||||
u16 reg_idx;
|
||||
unsigned int total_bytes;
|
||||
unsigned int total_packets;
|
||||
|
||||
|
Reference in New Issue
Block a user