8e22aae5cb
For multi-seg mbuf, ip->total_length should be pkt_len subtract ether len. Fixes: 4abe471ed6fc ("examples/tep_term: implement VXLAN processing") Signed-off-by: Michael Qiu <qiudayu@chinac.com> Acked-by: Jianfeng Tan <jianfeng.tan@intel.com>