net/vmxnet3: fix Rx offload information in multiseg packets
authorDidier Pallard <didier.pallard@6wind.com>
Wed, 28 Mar 2018 15:43:45 +0000 (17:43 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 16:34:41 +0000 (17:34 +0100)
commitd08e3c90d4e0a37618a5174c712dee1bf3cb73a3
treed7a183a030c03d3211e04027bffe364ce3c17fff
parent5e5ac26f958f10ef3f1b443ed74c13898cc82e87
net/vmxnet3: fix Rx offload information in multiseg packets

In case we are working on a multisegment buffer, most bit are set
in last segment of the buffer. Correctly look at those bits in eop part
of the rx_offload function.

Fixes: 2fdd835f992c ("vmxnet3: support jumbo frames")
Cc: stable@dpdk.org
Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
Acked-by: Yong Wang <yongwang@vmware.com>
drivers/net/vmxnet3/vmxnet3_rxtx.c