app/testpmd: fix max queue number for Tx offloads
authorChengchang Tang <tangchengchang@huawei.com>
Thu, 22 Apr 2021 07:03:31 +0000 (15:03 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 26 Apr 2021 14:20:31 +0000 (16:20 +0200)
commit0ca0c473977245f2eea57d60dbd0b575e41a8ceb
tree8a5f83182674debae1ec9fa6913e21fd5306c5c2
parent381dfcf04717f92cfea68e53aac1979c098d35a4
app/testpmd: fix max queue number for Tx offloads

When txq offload is configured, max rxq is used as the max queue. This
patch fixes it.

Fixes: 74453ac9ef67 ("app/testpmd: fix queue offload configuration")
Cc: stable@dpdk.org
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
app/test-pmd/cmdline.c