net/virtio-user: fix port id type
authorZhiyong Yang <zhiyong.yang@intel.com>
Fri, 30 Mar 2018 08:31:50 +0000 (16:31 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:40:21 +0000 (00:40 +0200)
commit40a7be870e55778d7fa51f7e47f9ffde5aa61d36
tree9d7dcea956ebf5c6f9b32370c284b3785abc4c02
parentbd2e0c3fe5ac43cdb3e902e2d22d46506e23b35d
net/virtio-user: fix port id type

virtio-user port_id range should be increased from 8 bits to 16 bits.

Fixes: f8244c6399d9 ("ethdev: increase port id range")
Cc: stable@dpdk.org
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_user/virtio_user_dev.h