netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] myri10ge: LRO to GRO conversion
@ 2012-11-14 13:06 Andrew Gallatin
  2012-11-14 14:27 ` Eric Dumazet
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Gallatin @ 2012-11-14 13:06 UTC (permalink / raw)
  To: netdev

Hi,

The following patchset converts myri10ge from using the old inet_lro
interface to GRO.

Note that a naive LRO->GRO conversion of myri10ge will result in a
performance regression for vlan tagged frames.  This is because
myri10ge does not offer hardware vlan tag offload, and because GRO
requires hardware vlan tag offload to aggregate vlan tagged frames.

To address this performance regression, I have implemented vlan tag
popping in the myri10ge driver, as it seems to be the lesser of two
evils.  As eric.dumazet@gmail.com commented when I asked about this on
netdev last week: "Given GRO assumes NIC does hardware vlan
offloading, I guess I would chose to do that.  It seems unfortunate to
add vlan decap in GRO path, already very complex."


Andrew Gallatin (3):
myri10ge: Convert from LRO to GRO
myri10ge: Add vlan rx for better GRO perf.
myri10ge: Use skb_fill_page_desc().


  drivers/net/ethernet/myricom/Kconfig             |    1 -
  drivers/net/ethernet/myricom/myri10ge/myri10ge.c |  281 
++++++----------------
  2 files changed, 80 insertions(+), 202 deletions(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next 0/3] myri10ge: LRO to GRO conversion
  2012-11-14 13:06 [PATCH net-next 0/3] myri10ge: LRO to GRO conversion Andrew Gallatin
@ 2012-11-14 14:27 ` Eric Dumazet
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Dumazet @ 2012-11-14 14:27 UTC (permalink / raw)
  To: Andrew Gallatin; +Cc: netdev

On Wed, 2012-11-14 at 08:06 -0500, Andrew Gallatin wrote:
> Hi,
> 
> The following patchset converts myri10ge from using the old inet_lro
> interface to GRO.

Very nice work, it seems INET_LRO could die eventually ;)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-14 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-14 13:06 [PATCH net-next 0/3] myri10ge: LRO to GRO conversion Andrew Gallatin
2012-11-14 14:27 ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).