public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Erik Hugne <erik.hugne@ericsson.com>
Cc: sathya.perla@emulex.com, subbu.seetharaman@emulex.com,
	ajit.khaparde@emulex.com, netdev@vger.kernel.org
Subject: Re: be2net: GRO for non-inet protocols
Date: Fri, 05 Apr 2013 08:31:12 -0700	[thread overview]
Message-ID: <1365175872.3405.3.camel@edumazet-glaptop> (raw)
In-Reply-To: <1365175702.3405.2.camel@edumazet-glaptop>

On Fri, 2013-04-05 at 08:28 -0700, Eric Dumazet wrote:

>  /* Process the RX completion indicated by rxcp when GRO is disabled */
> -static void be_rx_compl_process(struct be_rx_obj *rxo,
> +static void be_rx_compl_process(struct be_rx_obj *rxo, struct napi_struct *napi,
>  				struct be_rx_compl_info *rxcp)
>  {
>  	struct be_adapter *adapter = rxo->adapter;
> @@ -1385,7 +1385,7 @@ static void be_rx_compl_process(struct be_rx_obj *rxo,
>  	if (rxcp->vlanf)
>  		__vlan_hwaccel_put_tag(skb, rxcp->vlan_tag);
>  
> -	netif_receive_skb(skb);
> +	napi_gro_receive(&napi, skb);

That would be : napi_gro_receive(napi, skb);

  reply	other threads:[~2013-04-05 15:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-05 13:20 be2net: GRO for non-inet protocols Erik Hugne
2013-04-05 15:28 ` Eric Dumazet
2013-04-05 15:31   ` Eric Dumazet [this message]
2013-04-08  6:40     ` Erik Hugne
2013-04-08 15:24       ` Erik Hugne
2013-04-08 15:51         ` Eric Dumazet
2013-04-09  7:55           ` Erik Hugne
2013-04-09 13:44             ` Eric Dumazet
2013-04-09 14:22               ` Erik Hugne
2013-04-09 14:32                 ` Eric Dumazet
2013-04-09 14:48                   ` Erik Hugne
2013-04-09 14:31         ` Bandi,Sarveshwar
2013-04-09 16:31           ` Erik Hugne
2013-04-10 13:46             ` Bandi,Sarveshwar
2013-04-10 13:53               ` Erik Hugne
2013-04-24  7:44                 ` Erik Hugne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1365175872.3405.3.camel@edumazet-glaptop \
    --to=eric.dumazet@gmail.com \
    --cc=ajit.khaparde@emulex.com \
    --cc=erik.hugne@ericsson.com \
    --cc=netdev@vger.kernel.org \
    --cc=sathya.perla@emulex.com \
    --cc=subbu.seetharaman@emulex.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox