mbuf: fix segments number type increase
authorIlya V. Matveychikov <matvejchikov@gmail.com>
Fri, 10 Nov 2017 13:56:43 +0000 (16:56 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 14 Nov 2017 23:25:09 +0000 (00:25 +0100)
commit1a60a0daa6e46593d22374be0603bb6ae479b228
tree17964243bc2f6bac5833b27809f37c06bb96cf5f
parent048da2530d0d02c00a6a509c3351e5953817ffea
mbuf: fix segments number type increase

Update types of variables to correspond to nb_segs type change from
uint8_t to uint16_t.

Fixes: 97cb466d65c9 ("mbuf: use 2 bytes for port and nb segments")
Cc: stable@dpdk.org
Signed-off-by: Ilya V. Matveychikov <matvejchikov@gmail.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mbuf/rte_mbuf.c
lib/librte_mbuf/rte_mbuf.h
lib/librte_pdump/rte_pdump.c