Re: [PATCH] r8169: don't call napi_disable if not doing NAPI

2007-10-29 Thread Romano Giannetti
On Fri, 2007-10-26 at 11:33 -0700, Stephen Hemminger wrote: > Don't call napi_disable if not configured. > And make sure that any misuse of napi_xxx in future fails > with a compile error. > > Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> > This fix the problem for me (at least, after 8

Re: [PATCH] r8169: don't call napi_disable if not doing NAPI

2007-10-28 Thread Romano Giannetti
On Fri, 2007-10-26 at 11:33 -0700, Stephen Hemminger wrote: > Don't call napi_disable if not configured. > And make sure that any misuse of napi_xxx in future fails > with a compile error. Will test as soon as possible (been without internet in the week end). Thanks. As a bonus, I tried more th

Re: [PATCH] r8169: don't call napi_disable if not doing NAPI

2007-10-26 Thread Francois Romieu
Stephen Hemminger <[EMAIL PROTECTED]> : > Don't call napi_disable if not configured. > And make sure that any misuse of napi_xxx in future fails > with a compile error. Disable napi polling early and remove the useless poll_locked logic. > > Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>

[PATCH] r8169: don't call napi_disable if not doing NAPI

2007-10-26 Thread Stephen Hemminger
Don't call napi_disable if not configured. And make sure that any misuse of napi_xxx in future fails with a compile error. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- a/drivers/net/r8169.c 2007-10-24 21:38:43.0 -0700 +++ b/drivers/net/r8169.c 2007-10-26 11:27:02.0