Hi everyone
the big stack keep sending DCMD_IO_NET_TX_FLUSH devctl’s to my ethernet
driver, how am I to act on this? None of the example drivers or the
documentation mentions it.
Thanks in advance
/Johan Björk
Hi everyone
the big stack keep sending DCMD_IO_NET_TX_FLUSH devctl’s to my ethernet
driver, how am I to act on this? None of the example drivers or the
documentation mentions it.
Thanks in advance
/Johan Björk
You’re supposed to return (call ion->tx_done() on) any
packets that have been tx’d. Some drivers do this in
a lazy return fashion and this is supposed to tickle
their tx reap process asynchronously. For 6.2 and the
big stack this was more of a hint (the stack will work
if you ignore it). For 6.3 the stack won’t raise this
devctl but other protocols might in a non hint fashion.
So if your driver returns packets ‘quickly’ or your
only concerned with 6.2 at the moment, you can ignore
it.
-seanb
Hi everyone
the big stack keep sending DCMD_IO_NET_TX_FLUSH devctl’s to my ethernet
driver, how am I to act on this? None of the example drivers or the
documentation mentions it.
Thanks in advance