From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [Xen-devel] [PATCH net v2 1/3] xen-netback: move NAPI add/remove calls Date: Mon, 11 Aug 2014 14:59:52 +0100 Message-ID: <53E8CC58.10904@citrix.com> References: <1407515833-2550-1-git-send-email-wei.liu2@citrix.com> <1407515833-2550-2-git-send-email-wei.liu2@citrix.com> <53E8B874.8070906@citrix.com> <53E8BBCB.50308@citrix.com> <53E8BE92.5070606@citrix.com> <53E8C1A8.4050302@citrix.com> <20140811134322.GE3249@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: , Ian Campbell , David Vrabel , To: Wei Liu , Zoltan Kiss Return-path: Received: from smtp.citrix.com ([66.165.176.89]:54970 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753468AbaHKN7z (ORCPT ); Mon, 11 Aug 2014 09:59:55 -0400 In-Reply-To: <20140811134322.GE3249@zion.uk.xensource.com> Sender: netdev-owner@vger.kernel.org List-ID: On 11/08/14 14:43, Wei Liu wrote: > In short, there's no need to reorder disconnect logic and no need have a > dedicated loop for netif_napi_del. Not for now. But I would prefer it if it was re-ordered. And similarly in xenvif_down(), irq_disable() should be before napi_disable(). David