summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/sa1111_lubbock.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-07-18 19:10:50 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-29 08:12:55 +0300
commit7a86f05faf112463cfbbdfd222012e247de461a1 (patch)
tree0d3b2d2c5f90f1ab08de7a6120d0a3b98ea522d1 /drivers/pcmcia/sa1111_lubbock.c
parenta0732548ba03c27fb42da4cf8e1eecc205760f12 (diff)
downloadlinux-7a86f05faf112463cfbbdfd222012e247de461a1.tar.xz
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 <andrew@lunn.ch> Fixes: 2636ac3cc2b4 ("net: mvneta: Add network support for Armada 3700 SoC") Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pcmcia/sa1111_lubbock.c')
0 files changed, 0 insertions, 0 deletions