Re: [Xen-devel] [PATCH 2/4] net: Detect drivers that reschedule NAPI and exhaust budget

2014-12-23 Thread David Miller
From: Herbert Xu Date: Sun, 21 Dec 2014 07:16:22 +1100 > The commit d75b1ade567ffab085e8adbbdacf0092d10cd09c (net: less > interrupt masking in NAPI) required drivers to leave poll_list > empty if the entire budget is consumed. > > We have already had two broken drivers so let's add a check for >

[Xen-devel] [PATCH 2/4] net: Detect drivers that reschedule NAPI and exhaust budget

2014-12-20 Thread Herbert Xu
The commit d75b1ade567ffab085e8adbbdacf0092d10cd09c (net: less interrupt masking in NAPI) required drivers to leave poll_list empty if the entire budget is consumed. We have already had two broken drivers so let's add a check for this. Signed-off-by: Herbert Xu --- net/core/dev.c |9 ++