net/ixgbe: fix mapping of user priority to TC
authorWei Dai <wei.dai@intel.com>
Mon, 21 Aug 2017 07:50:05 +0000 (15:50 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:47 +0000 (02:49 +0200)
commita8e54b44515ce741a0b73fe2e35e99f6f1dcef4b
treed87b714960a86ffc63f21d5c357a980a07094f7a
parent0245de1a254163c181344633276b3759cf42d781
net/ixgbe: fix mapping of user priority to TC

This patch fixes the mapping of user priority to traffic class
in Rx/Tx path of DCB configuration. Each DCB traffic class
should include all user priorities mapping to it in both Rx and
Tx path.

Fixes: 0807f80d35d0 ("ixgbe: DCB / flow control")
Cc: stable@dpdk.org
Signed-off-by: Wei Dai <wei.dai@intel.com>
drivers/net/ixgbe/ixgbe_rxtx.c