diff options
author | 2018-08-10 11:36:27 +0800 | |
---|---|---|
committer | 2018-08-10 14:40:11 -0700 | |
commit | 0f5c6c30a0f8c629b92ecdaef61b315c43fde10a (patch) | |
tree | e6debed9c9fff9a4a50c4bee26d8d3037e99d385 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/smc: send response to test link signal (diff) | |
download | wireguard-linux-0f5c6c30a0f8c629b92ecdaef61b315c43fde10a.tar.xz wireguard-linux-0f5c6c30a0f8c629b92ecdaef61b315c43fde10a.zip |
net: mvneta: fix mvneta_config_rss on armada 3700
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 <Jisheng.Zhang@synaptics.com>
Fixes: 2636ac3cc2b4 ("net: mvneta: Add network support for Armada 3700 SoC")
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions