examples/flow_filtering: fix port id size
authorZhiyong Yang <zhiyong.yang@intel.com>
Wed, 24 Jan 2018 06:10:06 +0000 (14:10 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 29 Jan 2018 09:04:28 +0000 (10:04 +0100)
commit6014215a8c5865e1b22749f83d91da55da0ce020
tree40365a5645dec0394e4ffa17e6d24c9f7502013c
parentffe353bd2c26ec47011be7599c812f05aeb8bacd
examples/flow_filtering: fix port id size

Ethdev port id has been extended 16bits from 8bits in DPDK 17.11 release,
the patch fixes mismatch use.

Fixes: 4a3ef59a10c8 ("examples/flow_filtering: add simple demo of flow API")
Cc: stable@dpdk.org
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
examples/flow_filtering/flow_blocks.c
examples/flow_filtering/main.c