summaryrefslogtreecommitdiff
path: root/net/dsa/dsa_priv.h
diff options
context:
space:
mode:
authorJose Abreu <Jose.Abreu@synopsys.com>2019-11-06 18:03:03 +0300
committerDavid S. Miller <davem@davemloft.net>2019-11-07 08:22:55 +0300
commitcda4985a3ebb95f14fe3a9dc905820417baf79a5 (patch)
tree01b7e59c8b0399118a5fa37cb3bbddfb4580f7c8 /net/dsa/dsa_priv.h
parentaeb18dd0769289ae9141221862319a36094fb06b (diff)
downloadlinux-cda4985a3ebb95f14fe3a9dc905820417baf79a5.tar.xz
net: stmmac: Fix the packet count in stmmac_rx()
Currently, stmmac_rx() is counting the number of descriptors but it should count the number of packets as specified by the NAPI limit. Fix this. Fixes: ec222003bd94 ("net: stmmac: Prepare to add Split Header support") Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa_priv.h')
0 files changed, 0 insertions, 0 deletions