app: fix ethdev port id size
authorChenbo Xia <chenbo.xia@intel.com>
Wed, 30 Sep 2020 04:23:27 +0000 (12:23 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:15 +0000 (19:19 +0200)
commit9b539662437c0bbd385329bf077224cbb83d0c48
tree269484a6a5c7763d51fb69cbb05de38bb46c2443
parentfac8177a3669ff63d9ecb04372539e93e1f96ebf
app: fix ethdev port id size

The ethdev port id should be 16 bits now. This patch changes the
variable size of port id in applications from 8 bits to 16 bits.

Fixes: e977e4199a8d ("app/testpmd: add commands to load/unload BPF filters")
Fixes: 46cf97e4bbfa ("eventdev: add test for eth Tx adapter")
Cc: stable@dpdk.org
Signed-off-by: Chenbo Xia <chenbo.xia@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/bpf_cmd.c
app/test/test_event_eth_tx_adapter.c