ixgbe: dcb: use DCB config values for FCoE traffic class on open
authorJohn Fastabend <john.r.fastabend@intel.com>
Sat, 11 Feb 2012 06:26:00 +0000 (06:26 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 14 Mar 2012 07:49:10 +0000 (00:49 -0700)
commitcdf485be3a63d1f34293740fb726088c6840ceea
tree55261192fd0d075d195a7ae2e03bbf9bbddae492
parentd2f5e7f3af777d52ce110ae60e8cb788bc93141c
ixgbe: dcb: use DCB config values for FCoE traffic class on open

Disabling and enabling DCB can cause FCoE hardware initialization to
occur on the incorrect traffic class when the up2tc mapping has not
yet been reconfigured.

Fix this by using the DCB configuration maps that are correct
and will be pushed at mqprio after DCB driver setup completes
successfully.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Marcus Dennis <marcusx.e.dennis@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c