The naEthBypassTransmit functions transmits an Ethernet bypass Packet.
Once transmitted, The driver frees the packet but not the data buffer.
A txCompleteFn callback is used to free the data buffer.
I would like to execute more code in this callback.
The question is : Which Thread executes this callback ?
Unfortunaly I work without JTAG Emulator (connectcore module embedded in device).
tx_thread_identify returns a non null pointer.
But tx_thread_info_get (to get thread name) returns TX_THREAD_ERROR.
OK.
I retrieve the name with ->tx_thread_name.
“ByPass Send Comlete”.
Now I can see in eth_api.c that one thread is especially created for this callback