net/vmxnet3: guess MSS if not provided in LRO mode
authorDidier Pallard <didier.pallard@6wind.com>
Wed, 28 Mar 2018 15:43:47 +0000 (17:43 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 16:34:41 +0000 (17:34 +0100)
commitae2705b80d4177d050950af687708c7138bb6b6e
treebbb7aeb90fc52a7549ff00d2ab60e72abb278ede
parent73c1f32c968164bb7727773b04939c79b563fc3f
net/vmxnet3: guess MSS if not provided in LRO mode

Not so old variants of vmxnet3 do not provide MSS value along with
LRO packet. When this case happens, try to guess MSS value with
information at hand.

Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
Acked-by: Yong Wang <yongwang@vmware.com>
drivers/net/vmxnet3/Makefile
drivers/net/vmxnet3/vmxnet3_ethdev.c
drivers/net/vmxnet3/vmxnet3_ethdev.h
drivers/net/vmxnet3/vmxnet3_rxtx.c