app/testpmd: fix port id type
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 24 Apr 2018 05:59:56 +0000 (13:59 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 16:34:41 +0000 (17:34 +0100)
commit995d3ab336dfa8a8c4ccedf5f2619eee9d7ca25d
treeed9cd9995a86b7924c44117cfa2cff153ec64a39
parenta8903512da975246d510c43d87800b26dec2b5e9
app/testpmd: fix port id type

Correct couple port id from uint8_t to uint16_t.

Fixes: f8244c6399d9 ("ethdev: increase port id range")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/cmdline.c