[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1284619376.2462.95.camel@edumazet-laptop>
Date: Thu, 16 Sep 2010 08:42:56 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: shemminger@...tta.com, bphilips@...e.de,
e1000-devel@...ts.sourceforge.net, bruce.w.allan@...el.com,
jesse.brandeburg@...el.com, john.ronciak@...el.com,
jeffrey.t.kirsher@...el.com, netdev@...r.kernel.org,
bhutchings@...arflare.com
Subject: Re: [E1000-devel] [PATCH] net: enable GRO by default for vlan
devices
Le mercredi 15 septembre 2010 à 23:38 -0700, David Miller a écrit :
> From: Stephen Hemminger <shemminger@...tta.com>
> Date: Wed, 15 Sep 2010 23:21:25 -0700
>
> > I think it is more complex than that. GRO is tied to NAPI,
> > and bridge/bond don't use NAPI directly. They use netif_rx() for receiving
> > because layered drivers can't directly up call because of possible
> > issues with stack depth.
> >
> > To get GRO working for netif_rx case,
> > the logic in process_backlog would have to change.
> > But this queue is processing packets from multiple devices so
> > it is not clear if GRO could be used.
>
> Bonding's un-layering on RX is done in the normal netif_receive_skb()
> control flow.
>
> And bridging only uses netif_rx for multicast replication.
Yes, bonding case should be easy, I'll take a look today.
--
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