mbox series

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

Message ID 20241029-airoha-en7581-tx-napi-work-v1-0-96ad1686b946@kernel.org (mailing list archive)
Headers show
Series Simplify Tx napi logic in airoha_eth driver | expand

Message

Lorenzo Bianconi Oct. 29, 2024, 12:17 p.m. UTC
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,