net/i40e: fix port id type
authorZhiyong Yang <zhiyong.yang@intel.com>
Fri, 13 Oct 2017 13:16:55 +0000 (21:16 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Oct 2017 19:57:48 +0000 (21:57 +0200)
commit04b443fb2c439b78436f32e7ab2a3267067a0fbe
treefc098703bcd300bb5551d941cb6548ba7e932634
parent398fb97f9be10824be2f5804193241d47499f9c9
net/i40e: fix port id type

Some functions applied were still developed on top of uint8_t port_id,
however 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>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/rte_pmd_i40e.c
drivers/net/i40e/rte_pmd_i40e.h