ixgbe: fix for real_num_tx_queues update issue
authorVasu Dev <vasu.dev@intel.com>
Fri, 19 Mar 2010 04:33:10 +0000 (04:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Mar 2010 04:00:43 +0000 (21:00 -0700)
commit936332b8e00103fc20eb7e915c9a3bcb2835a11a
tree618b52182561406b1f937d75ac846d2a7643c2e0
parent97e3ecd112ba45eb217cddab59f48659bc15d9d0
ixgbe: fix for real_num_tx_queues update issue

Currently netdev_features_change is called before fcoe tx queues
setup is done, so this patch moves calling of netdev_features_change
after tx queues setup is done in ixgbe_init_interrupt_scheme, so
that real_num_tx_queues is updated correctly on each fcoe enable
or disable.

This allows additional fcoe queues updated correctly in vlan driver
for their correct queue selection.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_fcoe.c