]> www.infradead.org Git - users/willy/xarray.git/commit
net: airoha: Simplify Tx napi logic
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 29 Oct 2024 12:17:10 +0000 (13:17 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sun, 3 Nov 2024 19:36:16 +0000 (11:36 -0800)
commit0c729f53b8c33b9e5eadc2d5e673759e3510501e
tree04ec21fb1d87c80a350d4e7280fca432e17dd2bc
parent3affa310de523d63e52ea8e2efb3c476df29e414
net: airoha: Simplify Tx napi logic

Simplify Tx napi logic relying just on the packet index provided by
completion queue indicating the completed packet that can be removed
from the Tx DMA ring.
This is a preliminary patch to add Qdisc offload for airoha_eth driver.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20241029-airoha-en7581-tx-napi-work-v1-2-96ad1686b946@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mediatek/airoha_eth.c