net: mvneta: Remove per-cpu queue mapping for Armada 3700
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Tue, 16 Feb 2021 09:25:35 +0000 (10:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Mar 2021 10:37:35 +0000 (11:37 +0100)
commit79234cb9aab948f2725b59133c053d3f3dbbbebf
tree6fea96ceff67f8d59134943b8d685ec4397d2e6e
parent8845446496a72f5f435557f0e6d9a0cb1f976db8
net: mvneta: Remove per-cpu queue mapping for Armada 3700

[ Upstream commit cf9bf871280d9e0a8869d98c2602d29caf69dfa3 ]

According to Errata #23 "The per-CPU GbE interrupt is limited to Core
0", we can't use the per-cpu interrupt mechanism on the Armada 3700
familly.

This is correctly checked for RSS configuration, but the initial queue
mapping is still done by having the queues spread across all the CPUs in
the system, both in the init path and in the cpu_hotplug path.

Fixes: 2636ac3cc2b4 ("net: mvneta: Add network support for Armada 3700 SoC")
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/marvell/mvneta.c