Thread (288 messages) 288 messages, 13 authors, 2014-04-01

Re: [RFC PATCH 2/2] netpoll: Don't poll for received packets

From: Cong Wang <hidden>
Date: 2014-03-12 18:39:50

On Tue, Mar 11, 2014 at 1:45 AM, Eric W. Biederman
[off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help