aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2020-01-23 09:07:26 +1100
committerDavid S. Miller <davem@davemloft.net>2020-01-23 21:24:36 +0100
commit5fedabf5a70be26b19d7520f09f12a62274317c6 (patch)
treeb0e947486465b2a166829979adcd051e6ebcd165 /tools/perf/scripts/python
parentnet/sonic: Add mutual exclusion for accessing shared state (diff)
downloadlinux-5fedabf5a70be26b19d7520f09f12a62274317c6.tar.gz
linux-5fedabf5a70be26b19d7520f09f12a62274317c6.zip
net/sonic: Clear interrupt flags immediately
The chip can change a packet's descriptor status flags at any time. However, an active interrupt flag gets cleared rather late. This allows a race condition that could theoretically lose an interrupt. Fix this by clearing asserted interrupt flags immediately. Fixes: efcce839360f ("[PATCH] macsonic/jazzsonic network drivers update") Tested-by: Stan Johnson <userm57@yahoo.com> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions