OSDN Git Service

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)
commitac802f5dfe56139a288df50c89c820412863cd8a
tree5d626b4d6719161ab774b36587facd0ffa94c804
parentde3d5b94bc891c405b8d91d3c112681a0654613f
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