igb: re-order queues to support cleaner use of ivar on 82576
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 26 Dec 2008 09:34:11 +0000 (01:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Dec 2008 09:34:11 +0000 (01:34 -0800)
commit26bc19ecf6c077c926827c25631340fd2e8fb16e
treefab4cb0d2c633b5f336046dcd3416d26ef3e08e0
parent0e014cb16234c3797aa518d46fe7e1fe91ebcca9
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>
drivers/net/igb/igb.h
drivers/net/igb/igb_main.c