ixgbe: dcb: up2tc mapping lost on disable/enable CEE DCB state
authorJohn Fastabend <john.r.fastabend@intel.com>
Sat, 28 Jan 2012 01:22:35 +0000 (01:22 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 9 Feb 2012 09:27:41 +0000 (01:27 -0800)
commit5facb8e0c4dc1c8c47b71fd7f376defe16185733
treea6a24fd9586d8c74ef665f1a9c01366f51059082
parent9d837ea2b72321ffbdaf83c980923d23ae898baa
ixgbe: dcb: up2tc mapping lost on disable/enable CEE DCB state

Users expect the up2tc mapping to be maintained across a DCB
enable/disable/enable transition. And since we maintain all
the other DCB attributes we should do this for up2tc mappings
as well just to be consistent. Also without this we break
user space applications that expect this to occur that
previously worked.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@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