Re: [PATCH] ibmveth: Support to enable LSO/CSO for Trunk VEA.

From: David Miller
Date: Sat Apr 08 2017 - 14:46:38 EST


From: Sivakumar Krishnasamy <ksiva@xxxxxxxxxxxxxxxxxx>
Date: Fri, 7 Apr 2017 05:57:59 -0400

> Enable largesend and checksum offload for ibmveth configured in trunk mode.
> Added support to SKB frag_list in TX path by skb_linearize'ing such SKBs.
>
> Signed-off-by: Sivakumar Krishnasamy <ksiva@xxxxxxxxxxxxxxxxxx>

Why is linearization necessary?

It would seem that the gains you get from GRO are nullified by
linearizing the SKB and thus copying all the data around and
allocating buffers.

Finally, all of that new checksumming stuff looks extremely
suspicious. You have to explain why that is happening and why it
isn't because this driver is doing something incorrectly.

Thanks.