net/vmxnet3: gather offload data on first and last segment
authorDidier Pallard <didier.pallard@6wind.com>
Wed, 28 Mar 2018 15:43:44 +0000 (17:43 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 16:34:41 +0000 (17:34 +0100)
commit5e5ac26f958f10ef3f1b443ed74c13898cc82e87
tree7a3f2e550ac4707886b15f4e1f4308863eb26e39
parent0fbb05bbe3f13b0fae4e0bd6e7a1f0f82038ec8a
net/vmxnet3: gather offload data on first and last segment

Offloads are split between first and last segment of a packet.
Call a single vmxnet3_rx_offload function that will contain all
offload operations. This patch does not introduce any code modification.

Pass a vmxnet3_hw as parameter to the function, it is not presently
used in this patch, but will be later used for TSO offloads.

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