app/testpmd: fix DCB in VT configuration
authorJie Wang <jie1x.wang@intel.com>
Mon, 15 Nov 2021 03:29:58 +0000 (11:29 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 15 Nov 2021 16:22:01 +0000 (17:22 +0100)
commitcbe70fded831acac4ccbde8e11ba33ce8c24227c
tree527141f64d0f306e563725ab614de709b59b08b9
parent0cd91fd31c8cab9836609d10696c80d3a3bdadfe
app/testpmd: fix DCB in VT configuration

When set port DCB in VT mode enabled, it should remove RSS HASH
offload before reconfiguring the device and queues.

Because port multi-queue mode is changed from RSS to DCB in VT.

Fixes: 2a977b891f99 ("app/testpmd: fix DCB configuration")
Cc: stable@dpdk.org
Signed-off-by: Jie Wang <jie1x.wang@intel.com>
Acked-by: Aman Singh <aman.deep.singh@intel.com>
app/test-pmd/testpmd.c