linux/drivers/net/ethernet/intel/igb
Alexander Duyck 0c2cc02e57 igb: Move the calls to set the Tx and Rx queues into igb_open
This change helps to address locking issues seen with
netif_set_real_num_tx_queues and netif_set_real_num_rx_queues when used in
the igb_set_interrupt_capability function.  To resolve these locking issues
I have moved the two function calls into __igb_open so that they can be
called while the RTNL lock is held.

An added advantage to this is that the number of queues is not updated
until the last possible moment so if there are any issues in allocating
MSI-X interrupts or resources for the rings we have time to change the
values prior to updating the netdev.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2012-10-19 04:40:46 -07:00
..
e1000_82575.c igb: Support to enable EEE on all eee_supported devices 2012-09-20 02:47:12 -07:00
e1000_82575.h igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_defines.h igb: Support to enable EEE on all eee_supported devices 2012-09-20 02:47:12 -07:00
e1000_hw.h igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_i210.c igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_i210.h igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_mac.c igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_mac.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_mbx.c igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_mbx.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_nvm.c igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00
e1000_nvm.h igb: Update Copyright on all Intel copyrighted files. 2012-01-19 12:35:06 -05:00
e1000_phy.c igb: implement 580 MDI setting support 2012-08-21 01:24:05 -07:00
e1000_phy.h igb: implement 580 MDI setting support 2012-08-21 01:24:05 -07:00
e1000_regs.h igb: Support to enable EEE on all eee_supported devices 2012-09-20 02:47:12 -07:00
igb_ethtool.c igb: Lock buffer size at 2K even on systems with larger pages 2012-10-19 04:34:35 -07:00
igb_main.c igb: Move the calls to set the Tx and Rx queues into igb_open 2012-10-19 04:40:46 -07:00
igb_ptp.c igb: Split Rx timestamping into two separate functions 2012-10-19 04:25:10 -07:00
igb.h igb: Combine q_vector and ring allocation into a single function 2012-10-19 04:39:35 -07:00
Makefile igb: Add Support for new i210/i211 devices. 2012-05-12 13:17:13 -07:00