net/ixgbe: fix all queues drop setting of DCB
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Mon, 27 Feb 2017 05:34:04 +0000 (13:34 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 13:52:51 +0000 (15:52 +0200)
commit8552304c86f97e0d9ccb1884d06479a86f92f816
treed6c885b2913f04943c7f05258e98878e23bcea51
parent4b2e6df26168a22464fd62ba727ac14bc26b632d
net/ixgbe: fix all queues drop setting of DCB

DCB is split to RX and TX mode. All-queues-drop is set for TX mode.
It's not appropriate because all-queue-drop is a RX feature.
Move this setting from TX to RX.

Fixes: f3f9b17bb8a5 ("net/ixgbe: support multiqueue mode VMDq DCB with SRIOV")
Cc: stable@dpdk.org
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/ixgbe_rxtx.c