ixgbe: DCBnl set_all, order of operations fix
authorJohn Fastabend <john.r.fastabend@intel.com>
Sat, 12 Nov 2011 01:12:16 +0000 (01:12 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 5 Dec 2011 08:12:30 +0000 (00:12 -0800)
commit4909fe979c4863bb748cd35e2cec9aab1e140a10
tree3c231abfc986a2a38cdfc205a11f785278b7ed4f
parente8c626e9d8e99fdffd8af0e535ed5ac76ed356db
ixgbe: DCBnl set_all, order of operations fix

The order of operations is important in DCBnl set_all(). When FCoE
is configured it uses the up2tc map to learn which queues to configure
the hardware offloads on. Therefore we need to setup the map before
configuring FCoE.

This is only seen when the both up2tc mappings and APP info are
configured simultaneously.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c