test/eventdev: fix ethdev port id to 16-bit
authorVipin Varghese <vipin.varghese@intel.com>
Tue, 15 May 2018 18:06:42 +0000 (23:36 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 20 May 2018 23:16:41 +0000 (01:16 +0200)
commit84e22d6177be2eee974a4c4978ed800cae6bf332
treeb5ad7897eebe368dac2551d4cada269a781ef531
parent97c228a0aa9eea904d2e443a1316abc59dce5783
test/eventdev: fix ethdev port id to 16-bit

port id in test case is update to unsigned int 16 bit, to
prevent compilation failure when RTE_MAX_ETHPORTS port is
set more than 255.

Fixes: fc8030eb8fe9 ("test/eventdev: add tests for eth Rx adapter APIs")
Cc: stable@dpdk.org
Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
Acked-by: Nikhil Rao <nikhil.rao@intel.com>
test/test/test_event_eth_rx_adapter.c