net/i40e: fix queue region DCB configure
authorWei Zhao <wei.zhao1@intel.com>
Tue, 22 Jan 2019 08:11:03 +0000 (16:11 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 24 Jan 2019 09:08:31 +0000 (10:08 +0100)
commit991a2e812fcfdba6d47b77462e06859262def583
tree1794a77c75eb0d4a7188bbb25e0e16ed70befd92
parent10d66cee5bf51bbd27d58b565b3340282e18ef07
net/i40e: fix queue region DCB configure

DCB is not necessary to be configured if no user priority of
queue region is requested.

Unexpected configuration of DCB will cause unexpected behavior, like
FDIR does not work on those queues, but could cause more issues.

Fixes: 7cbecc2f7424 ("net/i40e: support queue region set and flush")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Tested-by: Yuan Peng <yuan.peng@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/rte_pmd_i40e.c