mbuf: increase port initialization value
authorZhiyong Yang <zhiyong.yang@intel.com>
Fri, 29 Sep 2017 07:17:27 +0000 (15:17 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 6 Oct 2017 16:24:03 +0000 (18:24 +0200)
commit65638a6d2fddcb4cff60d39bdf9ac25372bba6ef
treea2c0b7bb5caff03757048c59510f538fef5793c3
parentf8244c6399d9fae6afab6770ae367aef38742ea5
mbuf: increase port initialization value

In order to support more than 256 virtual ports, the field "port"
in rte_mbuf has been increased to 16 bits. The initialization/reset
value of the field "port" should be changed from 0xff to 0xffff
accordingly.

Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
lib/librte_mbuf/rte_mbuf.c
lib/librte_mbuf/rte_mbuf.h