app/testpmd: fix port id size
authorRemy Horton <remy.horton@intel.com>
Fri, 19 Jan 2018 13:27:22 +0000 (13:27 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 31 Jan 2018 22:34:47 +0000 (23:34 +0100)
commit4c492ebb21c3a43cd85c5e4af9f592a15c02d794
treef9d4fbb5fd875c3293fae0d39fa5b33fb5c4da89
parent7132ca8fa8e8faae28e04b3cba2b7e7fdef991e8
app/testpmd: fix port id size

The word size of port_id is now 16 bits, but there were parsing directives
that assumed it was still of type UINT8, resulting in incorrect commandline
parse results.

Fixes: f14a210a65fe ("app: fix port id type")
Cc: stable@dpdk.org
Signed-off-by: Remy Horton <remy.horton@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/cmdline.c