]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 15:05:37 +0000 (23:05 +0800)
commitd7d45ec5dd16477c7879f206653d69fef0045246
tree837dbfd8b4b03d94a3b9a48949d5af2389a5e5c3
parentc3e4b23f0ec53bb2182f7c4a11bc3ff579dde329
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.

(cherry picked from commit cdf485be3a63d1f34293740fb726088c6840ceea)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_main.c