app/testpmd: expand RED queue thresholds to 64 bits
authorRosen Xu <rosen.xu@intel.com>
Mon, 26 Nov 2018 08:35:57 +0000 (16:35 +0800)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Fri, 21 Dec 2018 23:22:57 +0000 (00:22 +0100)
commitcb43e0b3a94c997a225a4c06f336902922b0cd04
tree1db6a9feaee352766390c61213b88f1cce40bc99
parent03b7fd7e545f453f1d7c13d11bf8a0b7cd59a943
app/testpmd: expand RED queue thresholds to 64 bits

There's very commonly that more than 4G DDR memory in NIC for HQoS,
so right now the queue threshold size of RED needs to expand to
uint64_t. For struct rte_tm_red_params, it has been fixed, but for
test-pmd TM configuration, it hasn't been fixed. This patch fixes it.

Fixes: bddc2f40b594 ("app/testpmd: add commands for shaper and wred profiles")
Cc: stable@dpdk.org
Signed-off-by: Rosen Xu <rosen.xu@intel.com>
Reviewed-by: Jasvinder Singh <jasvinder.singh@intel.com>
app/test-pmd/cmdline_tm.c