[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200802041014.23989.ossthema@de.ibm.com>
Date: Mon, 4 Feb 2008 10:14:23 +0100
From: Jan-Bernd Themann <ossthema@...ibm.com>
To: Kostya B <bkostya@...mail.com>
Cc: netdev@...r.kernel.org
Subject: Re: LRO ip_summed
On Sunday 03 February 2008 10:48, Kostya B wrote:
>
> Hi,
>
> The mail is related to the way LRO manipulates the ip_summed value. Could anybody (author) explain why to overwrite the original value of skb->ip_summed, when it's processing by __lro_proc_skb ?
> E.g. in out: label
>
> Why not to preserve the coherency of csum status of each incoming to LRO packet, the same way the IP defragmentation does? That means - all skb in descriptor have the same value of ip_summed.
>
Hi,
I'm not sure if I understand your proposal correctly.
Currently the driver decides via the struct net_lro_mgr
a) which ip_summed value will be used for all aggregated packets
b) which one to use for those packets that can not be aggregated
to a) this one should always be the same. The driver knows whether its HW is
capable of performing ip checksum checking for this kind of traffic (TCP)
There are two modes: aggregating SKBs or aggregating fragments.
When fragments are aggregated, there is no SKB with a filled ip_summed available.
Please outline which parts of which mode you suggest to change.
Regards,
Jan-Bernd
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists