aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/macsec.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2023-01-10 10:31:26 +0100
committerJakub Kicinski <kuba@kernel.org>2023-01-11 21:14:41 -0800
commitd4f12a8271fb724b68af6fe8ef54f0f2e63da74d (patch)
treedb7c8359cebd3892ef268628c111413e57823dba /drivers/net/macsec.c
parentdevlink: keep the instance mutex alive until references are gone (diff)
downloadwireguard-linux-d4f12a8271fb724b68af6fe8ef54f0f2e63da74d.tar.xz
wireguard-linux-d4f12a8271fb724b68af6fe8ef54f0f2e63da74d.zip
net: ethernet: mtk_wed: get rid of queue lock for rx queue
Queue spinlock is currently held in mtk_wed_wo_queue_rx_clean and mtk_wed_wo_queue_refill routines for MTK Wireless Ethernet Dispatcher MCU rx queue. mtk_wed_wo_queue_refill() is running during initialization and in rx tasklet while mtk_wed_wo_queue_rx_clean() is running in mtk_wed_wo_hw_deinit() during hw de-init phase after rx tasklet has been disabled. Since mtk_wed_wo_queue_rx_clean and mtk_wed_wo_queue_refill routines can't run concurrently get rid of spinlock for mcu rx queue. Reviewed-by: Alexander Duyck <alexanderduyck@fb.com> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Link: https://lore.kernel.org/r/36ec3b729542ea60898471d890796f745479ba32.1673342990.git.lorenzo@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/macsec.c')
0 files changed, 0 insertions, 0 deletions