1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-23 16:53:58 -05:00
linux/drivers/net/ethernet/mediatek
Lorenzo Bianconi 3dc6e998d1 net: airoha: Update tx cpu dma ring idx at the end of xmit loop
Move the tx cpu dma ring index update out of transmit loop of
airoha_dev_xmit routine in order to not start transmitting the packet
before it is fully DMA mapped (e.g. fragmented skbs).

Fixes: 23020f0493 ("net: airoha: Introduce ethernet support for EN7581 SoC")
Reported-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241004-airoha-eth-7581-mapping-fix-v1-1-8e4279ab1812@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-10-07 17:29:22 -07:00
..
airoha_eth.c net: airoha: Update tx cpu dma ring idx at the end of xmit loop 2024-10-07 17:29:22 -07:00
Kconfig
Makefile
mtk_eth_path.c
mtk_eth_soc.c
mtk_eth_soc.h
mtk_ppe.c
mtk_ppe.h
mtk_ppe_debugfs.c
mtk_ppe_offload.c
mtk_ppe_regs.h
mtk_star_emac.c
mtk_wed.c
mtk_wed.h
mtk_wed_debugfs.c
mtk_wed_mcu.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
mtk_wed_ops.c
mtk_wed_regs.h
mtk_wed_wo.c
mtk_wed_wo.h