Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2361206imu; Thu, 17 Jan 2019 12:49:08 -0800 (PST) X-Google-Smtp-Source: ALg8bN7CYv2F9fRzhtow1rN6TjZL2KaJ2bIDpuHuD5qlv36ck7xqVi8x2X0TSFEBRfplPfyZkBC+ X-Received: by 2002:aa7:8542:: with SMTP id y2mr16648344pfn.83.1547758148167; Thu, 17 Jan 2019 12:49:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547758148; cv=none; d=google.com; s=arc-20160816; b=gfzIOuyKYCK2LBPAoAAfwwmYYLzW2CrC1Jp82dkTV2rBx64W+9svJypnf3pYkibQFo 31EfZmuwD8QD1pUlEMwYYu1lm3WXrcU0rb3ey9p9c/9aPwwFr8hnXw/YOX231ENKZkgl 4XggJn+zuu4ozJ0BAQdOe9jrQtqsctmxrxstwBexCHpq2u3P7sC9GLR6QPZmJSdzIkUi hIXRYWbl78jTaEh7t4e0xLX/vH0u7EyDHn0CcqMSycH6q4w5RoMsJy4EDW7cm52i+PFu d5x3kPgeGDOFgRDslVh7RM1IJfxzg/yBoaW8TVMMdBje3AavjEmZRbSphrA7L9kDHxou CCuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=1X1SWt01T0yzgxMO6uMYrcogI+wqIkh3FOkquY4cJZ8=; b=yf2ocjNxTz2jiRKuVhdu5Vy5yRn1yB2ySquh5FcHkrDVO75MJfolTYdSpGAQ4Q2iVm 4/UZZqZMXqRuHY0z8PjiGVBBHDrFWT2D7Ql1Pe6uVxbylZJqoFNb8btHS2UF8rNbxLAF 5pslDYVNX/5zkiXQlRSURIojUwMV9DNxXqRyeh15hNxO3qHQU4adYIUMHK0TbGWJMKMe YLSs+qwSq7DvI8VUjgQGjQb9eLRs4AMQ5DUjDrU1aRhTL1b+e1l2NDgxZbotifEKr3Wi S00dI+Ns1Um54NE2B/sK7Q6VjNEpihfVMIC5RLMK8134jW3mXeIZnWTY2PwDsRPpmI+W UlIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s66si2628502pgs.115.2019.01.17.12.48.49; Thu, 17 Jan 2019 12:49:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728239AbfAQTX2 (ORCPT + 99 others); Thu, 17 Jan 2019 14:23:28 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:59044 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726811AbfAQTX1 (ORCPT ); Thu, 17 Jan 2019 14:23:27 -0500 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::bf5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id DADEB14B94513; Thu, 17 Jan 2019 11:23:26 -0800 (PST) Date: Thu, 17 Jan 2019 11:23:23 -0800 (PST) Message-Id: <20190117.112323.992634750178900510.davem@davemloft.net> To: xuechaojing@huawei.com Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, wulike1@huawei.com, chiqijun@huawei.com, fy.wang@huawei.com, tony.qu@huawei.com, luoshaokai@huawei.com Subject: Re: [PATCH 1/1] net-next/hinic: replace disable_irq_nosync/enable_irq From: David Miller In-Reply-To: <20190115174852.22839-1-xuechaojing@huawei.com> References: <20190115174852.22839-1-xuechaojing@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 17 Jan 2019 11:23:27 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Xue Chaojing Date: Tue, 15 Jan 2019 17:48:52 +0000 > In order to avoid frequent system interrupts when sending and > receiving packets. we replace disable_irq_nosync/enable_irq > with hinic_set_msix_state(), hinic_set_msix_state is used to > access memory mapped hinic devices. > > Signed-off-by: Xue Chaojing Applied.