[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150204062137.GD30631@kumar-pc.asicdesigners.com>
Date: Wed, 4 Feb 2015 12:21:39 +0600
From: Kumar Sanghvi <kumaras@...lsio.com>
To: Eric Dumazet <eric.dumazet@...il.com>
CC: Hariprasad Shenai <hariprasad@...lsio.com>,
<netdev@...r.kernel.org>, <davem@...emloft.net>,
<leedom@...lsio.com>, <anish@...lsio.com>, <nirranjan@...lsio.com>,
<praveenm@...lsio.com>
Subject: Re: [PATCH net-next] cxgb4: Add low latency socket busy_poll support
On Tuesday, February 02/03/15, 2015 at 21:58:29 -0800, Eric Dumazet wrote:
> On Tue, 2015-02-03 at 10:50 +0530, Hariprasad Shenai wrote:
>
> > @@ -1978,9 +2016,13 @@ static int napi_rx_handler(struct napi_struct *napi, int budget)
> > {
> > unsigned int params;
> > struct sge_rspq *q = container_of(napi, struct sge_rspq, napi);
> > - int work_done = process_responses(q, budget);
> > + int work_done = 0;
> > u32 val;
> >
> > + if (!cxgb_poll_lock_napi(q))
> > + return work_done;
> > +
>
>
> This is very suspicious. Please take a look at commits
>
> 24e579c8898aa641 ("bnx2x: fix napi poll return value for repoll")
> f104fedc0da126ab ("enic: fix rx napi poll return value")
>
> for context.
Thanks Eric for pointing on this.
So, this probably needs change after commit d75b1ade567ffab ("net: less interrupt masking in NAPI"), or
is there something else that is missed ?
Thanks,
Kumar.
--
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