[riot-notifications] [RIOT-OS/RIOT] gnrc_netif_pktq: schedule immediately if timer us is equal to zero (#16745)

José Alamos notifications at github.com
Tue Aug 17 15:29:45 CEST 2021

> Hm shouldn't that timeout only hit if the driver is not providing NETDEV_EVENT_RX_COMPLETE / NETDEV_EVENT_TX_COMPLETE events? That's where _send_queued_pkt() is usually called, GNRC_NETIF_PKTQ_DEQUEUE_MSG appears more like a fall-back to me.

I see the point, but as it is now, drivers that provide RX_DONE and TX_DONE still try to schedule the msg. IMO the scheduling should then be done only if the driver cannot report the states back. Otherwise it will just add delay

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210817/5062c0ea/attachment.htm>

More information about the notifications mailing list