From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] net: mvneta: fix mvneta_config_rss on armada 3700 Date: Fri, 10 Aug 2018 14:40:31 -0700 (PDT) Message-ID: <20180810.144031.861564620036768413.davem@davemloft.net> References: <20180810113627.5dec5d40@xhacker.debian> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: thomas.petazzoni@free-electrons.com, andrew@lunn.ch, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Jisheng.Zhang@synaptics.com Return-path: In-Reply-To: <20180810113627.5dec5d40@xhacker.debian> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.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.