]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Move configuration of set_real_num_rx/tx_queues into open
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 12 Jul 2012 05:52:53 +0000 (05:52 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 18 Jul 2012 01:55:13 +0000 (18:55 -0700)
commit2874d89c735cbb40c832a27e0ecd4075fbdb6985
tree5d626b4d6719161ab774b36587facd0ffa94c804
parent63e587dc165f212ce0d3e83cd94169828eb8c487
ixgbe: Move configuration of set_real_num_rx/tx_queues into open

It makes much more sense for us to configure the real number of Tx and Rx
queues in the ixgbe_open call than it does in ixgbe_set_num_queues.  By
setting the number in ixgbe_open we can avoid a number of unecessary
updates and only have to make the calls once.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c