From mboxrd@z Thu Jan 1 00:00:00 1970 From: Francois Romieu Subject: Re: [PATCH] r8169: don't call napi_disable if not doing NAPI Date: Fri, 26 Oct 2007 22:17:42 +0200 Message-ID: <20071026201742.GA29246@electric-eye.fr.zoreil.com> References: <1193232344.32208.0.camel@localhost> <20071024142759.GA13657@elte.hu> <1193241191.14314.8.camel@localhost> <20071024155521.GA16690@elte.hu> <1193242267.6914.6.camel@twins> <1193378269.17910.4.camel@localhost> <20071026063733.GA12426@elte.hu> <20071026094833.539a69aa@freepuppy.rosehill> <20071026175613.GA18770@elte.hu> <20071026113305.57dea765@freepuppy.rosehill> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ingo Molnar , Jeff Garzik , Romano Giannetti , Peter Zijlstra , Linux Kernel Mailing List , "David S. Miller" , netdev@vger.kernel.org, Edward Hsu , Andrew Morton To: Stephen Hemminger Return-path: Received: from electric-eye.fr.zoreil.com ([213.41.134.224]:54541 "EHLO electric-eye.fr.zoreil.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752077AbXJZUYL (ORCPT ); Fri, 26 Oct 2007 16:24:11 -0400 Content-Disposition: inline In-Reply-To: <20071026113305.57dea765@freepuppy.rosehill> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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. Disable napi polling early and remove the useless poll_locked logic. > > Signed-off-by: Stephen Hemminger Acked-off-by: Francois Romieu -- Ueimor