[PATCH net-next 0/2] Simplify Tx napi logic in airoha_eth driver

Lorenzo Bianconi lorenzo at kernel.org
Tue Oct 29 05:17:08 PDT 2024


Simplify Tx napi logic relying on the packet index provided by
completion queue indicating the completed packet that can be removed
from the Tx DMA ring.
Read completion queue head and pending entry in airoha_qdma_tx_napi_poll().

---
Lorenzo Bianconi (2):
      net: airoha: Read completion queue data in airoha_qdma_tx_napi_poll()
      net: airoha: Simplify Tx napi logic

 drivers/net/ethernet/mediatek/airoha_eth.c | 102 +++++++++++++++--------------
 1 file changed, 53 insertions(+), 49 deletions(-)
---
base-commit: dd1b082f015317091034bee815b97d911d7a2195
change-id: 20241029-airoha-en7581-tx-napi-work-312646caced5

Best regards,
-- 
Lorenzo Bianconi <lorenzo at kernel.org>




More information about the Linux-mediatek mailing list