net/i40e: fix segment number in reassemble process
authorChenghu Yao <yao.chenghu@zte.com.cn>
Mon, 9 Jan 2017 03:31:04 +0000 (11:31 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:41:42 +0000 (19:41 +0100)
commit65600813884cf018358dc09c032c78f8f5f5a83b
treef6ab3ad8af7e6fd0f0aa7d1010240f1fdebcfdb8
parent5d16a43c40cf2220c1b295307a00cee55d845633
net/i40e: fix segment number in reassemble process

When freeing up last mbuf, start->nb_segs should be decremented
by one. See also ixgbe process.

Fixes: 0e0da28cd888 ("i40e: add vector scatter Rx")

Signed-off-by: Chenghu Yao <yao.chenghu@zte.com.cn>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/i40e/i40e_rxtx_vec_common.h