Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp458361imm; Fri, 10 Aug 2018 14:41:35 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzDpXy2XSSzjpTdsvtUr4xkbqly7WwIyBKLaprnrG4Nx3I/8ImOhQoJhbUELZGAAZjsnCIU X-Received: by 2002:a63:e914:: with SMTP id i20-v6mr8001202pgh.10.1533937295782; Fri, 10 Aug 2018 14:41:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533937295; cv=none; d=google.com; s=arc-20160816; b=1EQZUzEVWXQlJtDW12NtXsOWJOb1H5OK7YM2W1LOQ2EOwdBshkS46aY2uAFzqaewZ/ 8S9NwqdNLbMD2o2WSXRqQKfhezSp1GpaxnEjNRimy2Sk/tZmEZpgOW7G5B67d5/HkUrY HRqCnyNIyvTzZBkzABV9bh2UdE6XLfSIghFuDDTbZ9tDR2CXnV9HsXY7WEBG6z9DtCdC WfhhcFWk66Ssf1e9ftzZSlV+TDZv9wRB81hC/dqfORRItLoIbcsEst+//cAOsMEJo0Ro tI4dChbVJcZPC60w8ewfd2znNQew3Q4O/eDfU/1Zkcv8z6agvDQTglDpu0RxLYx1Zefp C2Gg== 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 :arc-authentication-results; bh=uDacEEQ+prKLEo4puOwyq+6ocGUk6mUGd0JGJ3lbowk=; b=dxrmstii2Dbku523vhzpf/8X/vukVYliPHMegTgiB0UXotYlCBSFbA2Uuec3LgMssx f+6hdnq6ynNwdHSLJpjpjIBWLsAY/mJaUoDh3dBgvt1+TZom2SuMZTxDBPyvXxMED/Ld /rXQqrgQwNpiURw0GdEi0Ps8fPyqpyJU5X2zwSGp/3/GLuYa7RLJgY+Cm/zblRMW0PB4 KnesIts+6+yxD+CPEmHzFh0BNBMU/qNVYYFrtYi8cdtxE2hjjGpqfZXffu4ajuOK9yPn izYUJfPjCyFY/RDV4ZUgP7bnAvKHCRGybIQmPruL9CgNsVDc0EPmU8owIqXoM/qiaa1q 76jQ== 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 r138-v6si11753347pfc.202.2018.08.10.14.41.21; Fri, 10 Aug 2018 14:41:35 -0700 (PDT) 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 S1727191AbeHKAML (ORCPT + 99 others); Fri, 10 Aug 2018 20:12:11 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:57778 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726439AbeHKAML (ORCPT ); Fri, 10 Aug 2018 20:12:11 -0400 Received: from localhost (c-73-240-71-155.hsd1.or.comcast.net [73.240.71.155]) (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 4FE0E142AC15B; Fri, 10 Aug 2018 14:40:32 -0700 (PDT) Date: Fri, 10 Aug 2018 14:40:31 -0700 (PDT) Message-Id: <20180810.144031.861564620036768413.davem@davemloft.net> To: Jisheng.Zhang@synaptics.com Cc: thomas.petazzoni@free-electrons.com, andrew@lunn.ch, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] net: mvneta: fix mvneta_config_rss on armada 3700 From: David Miller In-Reply-To: <20180810113627.5dec5d40@xhacker.debian> References: <20180810113627.5dec5d40@xhacker.debian> X-Mailer: Mew version 6.7 on Emacs 26 / Mule 6.0 (HANACHIRUSATO) 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]); Fri, 10 Aug 2018 14:40:32 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jisheng Zhang Date: Fri, 10 Aug 2018 11:36:27 +0800 > The mvneta Ethernet driver is used on a few different Marvell SoCs. > Some SoCs have per cpu interrupts for Ethernet events, the driver uses > a per CPU napi structure for this case. Some SoCs such as armada 3700 > have a single interrupt for Ethernet events, the driver uses a global > napi structure for this case. > > Current mvneta_config_rss() always operates the per cpu napi structure. > Fix it by operating a global napi for "single interrupt" case, and per > cpu napi structure for remaining cases. > > Signed-off-by: Jisheng Zhang > Fixes: 2636ac3cc2b4 ("net: mvneta: Add network support for Armada 3700 SoC") Applied, thanks.