]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3032eda9ed87ad3ae93974b5a50e7ec08e3c5dc1
treea6a24fd9586d8c74ef665f1a9c01366f51059082
parent50e9c22e38810510c56bdb41e6bb3d37a420ac00
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