]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: airoha: Add missing RX_CPU_IDX() configuration in airoha_qdma_cleanup_rx_queue()
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 8 Apr 2026 18:26:56 +0000 (20:26 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sun, 12 Apr 2026 18:25:17 +0000 (11:25 -0700)
commit656121b155030086b01cfce9bd31b0c925ee6860
treedf45ac16bfe1c5497c4b0451edd35913bf22898e
parented45d380c54641039761c5e569f948612eaf0e98
net: airoha: Add missing RX_CPU_IDX() configuration in airoha_qdma_cleanup_rx_queue()

When the descriptor index written in REG_RX_CPU_IDX() is equal to the one
stored in REG_RX_DMA_IDX(), the hw will stop since the QDMA RX ring is
empty.
Add missing REG_RX_CPU_IDX() configuration in airoha_qdma_cleanup_rx_queue
routine during QDMA RX ring cleanup.

Fixes: 514aac359987 ("net: airoha: Add missing cleanup bits in airoha_qdma_cleanup_rx_queue()")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260408-airoha-cpu-idx-airoha_qdma_cleanup_rx_queue-v1-1-8efa64844308@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/airoha/airoha_eth.c