ethdev: fix port id type in flow API
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Fri, 6 Oct 2017 12:32:33 +0000 (14:32 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 6 Oct 2017 16:38:55 +0000 (18:38 +0200)
commit5d3a35ff0670d0805289e9b030db926b1bee0e6f
tree944d61b20b5916ac612eef4bbc03f30a9246995e
parent65638a6d2fddcb4cff60d39bdf9ac25372bba6ef
ethdev: fix port id type in flow API

As for the testpmd flow command which uses uint16_t since the beginning by
chance, switch to portid_t for consistency.

Fixes: 14ab03825b1d ("ethdev: increase port id range")

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
app/test-pmd/cmdline_flow.c
lib/librte_ether/rte_flow.c
lib/librte_ether/rte_flow.h