aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2020-09-22 23:41:12 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-23 18:01:03 -0700
commitf9317ae5523f99999fb54c513ebabbb2bc887ddf (patch)
tree08ba91f1fe341c5335f11667088bcc207b6dac0e /tools/perf/scripts/python
parentnet: switchdev: Fixed kerneldoc warning (diff)
downloadlinux-dev-f9317ae5523f99999fb54c513ebabbb2bc887ddf.tar.xz
linux-dev-f9317ae5523f99999fb54c513ebabbb2bc887ddf.zip
net: lantiq: Add locking for TX DMA channel
The TX DMA channel data is accessed by the xrx200_start_xmit() and the xrx200_tx_housekeeping() function from different threads. Make sure the accesses are synchronized by acquiring the netif_tx_lock() in the xrx200_tx_housekeeping() function too. This lock is acquired by the kernel before calling xrx200_start_xmit(). Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions