[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100901104235.5476a242@nehalam>
Date: Wed, 1 Sep 2010 10:42:35 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: David Miller <davem@...emloft.net>, netdev <netdev@...r.kernel.org>
Subject: Re: [RFC PATCH net-next-2.6] gro: drivers should feed GRO only with
TCP packets
On Wed, 01 Sep 2010 19:04:46 +0200
Eric Dumazet <eric.dumazet@...il.com> wrote:
> Many network devices can tell if an incoming frame is a TCP one for a
> small cost.
>
> Instead of feeding GRO with all packets, we could filter packets on this
> information ?
>
> This should help machines handling a mixed UDP/TCP workload, keeping gro
> overhead as small as possible.
>
> patch against tg3 as an example...
>
> Alternative would be to set a bit "is_tcp" on napi_struct to let this
> choice being done in network stack, not by each driver.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
There was talk of doing GRO for UDP as well bug it never
got implemented.
--
--
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