diff options
| author | Andrew Lunn <[email protected]> | 2018-07-18 18:10:50 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-28 22:12:55 -0700 |
| commit | 7a86f05faf112463cfbbdfd222012e247de461a1 (patch) | |
| tree | 0d3b2d2c5f90f1ab08de7a6120d0a3b98ea522d1 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
| parent | a0732548ba03c27fb42da4cf8e1eecc205760f12 (diff) | |
net: ethernet: mvneta: Fix napi structure mixup on armada 3700
The mvneta Ethernet driver is used on a few different Marvell SoCs.
Some SoCs have per cpu interrupts for Ethernet events. Some SoCs have
a single interrupt, independent of the CPU. The driver handles this by
having a per CPU napi structure when there are per CPU interrupts, and
a global napi structure when there is a single interrupt.
When the napi core calls mvneta_poll(), it passes the napi
instance. This was not being propagated through the call chain, and
instead the per-cpu napi instance was passed to napi_gro_receive()
call. This breaks when there is a single global napi instance.
Signed-off-by: Andrew Lunn <[email protected]>
Fixes: 2636ac3cc2b4 ("net: mvneta: Add network support for Armada 3700 SoC")
Signed-off-by: Gregory CLEMENT <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions