examples/l2fwd-crypto: fix port id type
authorZhiyong Yang <zhiyong.yang@intel.com>
Thu, 19 Oct 2017 02:56:57 +0000 (10:56 +0800)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 25 Oct 2017 16:10:40 +0000 (18:10 +0200)
commite2cdfbd07c8aad0dfd0d3159adddba1e80c57fdc
tree29f65c99330e379a74211570a45cb8e3c8e73eef
parent44aafbc90216fc1ce6043aacba1b19dd113f29aa
examples/l2fwd-crypto: fix port id type

Fix port id issues and keep variables related to port ids in
consistent data type definition "uint16_t".

Remove unnecessary cast in the meanwhile.

Fixes: f8244c6399d9 ("ethdev: increase port id range")

Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
examples/l2fwd-crypto/main.c