app/testpmd: fix memory allocation for DSCP table
authorJasvinder Singh <jasvinder.singh@intel.com>
Tue, 6 Nov 2018 10:26:40 +0000 (10:26 +0000)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Mon, 12 Nov 2018 16:45:32 +0000 (17:45 +0100)
commit459463ae6c2602de54c72330f31c206ac59387ea
treed5640535f77d9a4fe8d53ead11338e20fa75555d
parent8bf02b320e27ec27af12d345663f557b04a4c677
app/testpmd: fix memory allocation for DSCP table

The patch fixes the memory allocation for the meter DSCP table.

Fixes: e63b50162aa3 ("app/testpmd: clean metering and policing commands")
Cc: stable@dpdk.org
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/cmdline_mtr.c