Thread (32 messages) flat view 32 messages, 6 authors, 2016-01-28

Re: [PATCH net-next 1/8] net: local checksum offload for encapsulation

From: Alexander Duyck <hidden>
Date: 2016-01-28 09:00:43

On Wed, Jan 27, 2016 at 11:04 PM, Zang MingJie [off-list ref] wrote:
I have also noticed that for gso, all gso segs will have exactly same outer
udp checksum, this is also because inner checksum cancellation.

Can we also optimize that outer udp checksum should be only calculated once
for all gso segs ?
Actually that is a good point.  It isn't as if anything really changes
in the tunnel headers between frames so we probably can just compute
the outer once and then adjust it on the last frame to account for the
fact that the length will be different.  I'll see if we can do that in
the GSO patches I have been working on.

- Alex
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help