OSDN Git Service

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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2021 23:03:26 +0000 (15:03 -0800)
commitcf9bf871280d9e0a8869d98c2602d29caf69dfa3
tree8cb151b7a054bf49453efda2d2e197b3d49a298a
parent44c32039751ad1506b188a8ffa8f1a7b9726d29e
net: mvneta: Remove per-cpu queue mapping for Armada 3700

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>
drivers/net/ethernet/marvell/mvneta.c