Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754047Ab3DKPzH (ORCPT ); Thu, 11 Apr 2013 11:55:07 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:48448 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751722Ab3DKPzF (ORCPT ); Thu, 11 Apr 2013 11:55:05 -0400 Message-ID: <1365695698.3887.166.camel@edumazet-glaptop> Subject: Re: [PATCH] net: mv643xx_eth: Add GRO support From: Eric Dumazet To: Sebastian Hesselbarth Cc: Soeren Moch , "David S. Miller" , Lennert Buytenhek , Andrew Lunn , Jason Cooper , Florian Fainelli , Benjamin Herrenschmidt , Paul Mackerras , Dale Farnsworth , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Thu, 11 Apr 2013 08:54:58 -0700 In-Reply-To: <1365684023-9967-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1365684023-9967-1-git-send-email-sebastian.hesselbarth@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1720 Lines: 45 On Thu, 2013-04-11 at 14:40 +0200, Sebastian Hesselbarth wrote: > This patch adds GRO support to mv643xx_eth by making it invoke > napi_gro_receive instead of netif_receive_skb. > > Signed-off-by: Soeren Moch > Signed-off-by: Sebastian Hesselbarth > --- > Cc: "David S. Miller" > Cc: Lennert Buytenhek > Cc: Andrew Lunn > Cc: Jason Cooper > Cc: Florian Fainelli > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Dale Farnsworth > Cc: netdev@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linuxppc-dev@lists.ozlabs.org > Cc: linux-kernel@vger.kernel.org > --- > drivers/net/ethernet/marvell/mv643xx_eth.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/marvell/mv643xx_eth.c b/drivers/net/ethernet/marvell/mv643xx_eth.c > index 305038f..c850d04 100644 > --- a/drivers/net/ethernet/marvell/mv643xx_eth.c > +++ b/drivers/net/ethernet/marvell/mv643xx_eth.c > @@ -604,7 +604,7 @@ static int rxq_process(struct rx_queue *rxq, int budget) > lro_receive_skb(&rxq->lro_mgr, skb, (void *)cmd_sts); > lro_flush_needed = 1; > } else > - netif_receive_skb(skb); > + napi_gro_receive(&mp->napi, skb); > > continue; > Acked-by: Eric Dumazet -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/