aboutsummaryrefslogtreecommitdiffstats
path: root/net/llc
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2016-05-03 16:38:53 +0200
committerDavid S. Miller <davem@davemloft.net>2016-05-04 14:08:38 -0400
commit1c021bb717a70aaeaa4b25c91f43c2aeddd922de (patch)
tree2199dabde58723432da3fadf9ac48034f0965a72 /net/llc
parentdrivers: net: xgene: Fix error handling (diff)
downloadlinux-dev-1c021bb717a70aaeaa4b25c91f43c2aeddd922de.tar.xz
linux-dev-1c021bb717a70aaeaa4b25c91f43c2aeddd922de.zip
net: fec: only clear a queue's work bit if the queue was emptied
In the receive path a queue's work bit was cleared unconditionally even if fec_enet_rx_queue only read out a part of the available packets from the hardware. This resulted in not reading any packets in the next napi turn and so packets were delayed or lost. The obvious fix is to only clear a queue's bit when the queue was emptied. Fixes: 4d494cdc92b3 ("net: fec: change data structure to support multiqueue") Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Tested-by: Fugang Duan <fugang.duan@nxp.com> Acked-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions