ethdev: fix port id type
authorZhiyong Yang <zhiyong.yang@intel.com>
Thu, 12 Oct 2017 09:32:47 +0000 (17:32 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Oct 2017 00:17:49 +0000 (01:17 +0100)
commit3eb7e207ea8615cf12a0964e073ad86b1b4397b2
tree74642ce67e77d6975585ecb2e728d9307c6918e8
parent49d193cfb231e6a2b29e1ae59692b6e307c006ff
ethdev: fix port id type

Some features applied were still developed based on older version uint8_t
port_id, but port_id has been increased range to uint16_t. The patch fixes
the issue.

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

Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
lib/librte_ether/ethdev_profile.c
lib/librte_ether/ethdev_profile.h
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h