[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpVRkHR7_coMDUSLkVmhAgbO==b4BVPuKTMpKz+SRz=WjA@mail.gmail.com>
Date: Wed, 12 Mar 2014 11:39:49 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: Eric Dumazet <eric.dumazet@...il.com>,
David Miller <davem@...emloft.net>,
Linux Kernel Network Developers <netdev@...r.kernel.org>,
Matt Mackall <mpm@...enic.com>,
Satyam Sharma <satyam.sharma@...il.com>
Subject: Re: [RFC PATCH 2/2] netpoll: Don't poll for received packets
On Tue, Mar 11, 2014 at 1:45 AM, Eric W. Biederman
<ebiederm@...ssion.com> wrote:
> - work = napi->poll(napi, budget);
> - trace_napi_poll(napi);
> + /* Use a budget of 0 to request the drivers not process
> + * their receive queue. Warn when they do anyway.
> + */
> + work = napi->poll(napi, 0);
> + WARN_ON_ONCE(work != 0);
>
Adding more printk's in netpoll call path would only bring more troubles.
--
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