Callback Functions
4.4.2
pfcbFreePacket
4.4.3
pfcbRxPacket
4.4.4
pfcbStatus
4.4.5
pfcbStatistics
4-4
This function is called by the CSL layer to free the memory allocated for
an EMAC packet (of type "EMAC_Pkt") and any buffers held within it.
This function is typically called during EMAC close, when an error occurs,
or during a Transmit complete interrupt handling for cleaning up the
associated buffers.
This function is the driver-registered receive handler for all Ethernet
packets received and validated by the EMAC and handed over to the
CSL layer when a receive interrupt occurs.
This function is required to save the packet buffer received to hand it over
to the stack for further processing. At that point, it is the responsibility of
the driver/stack to free the packet buffer. This function is also required to
return a new EMAC packet buffer in return to replenish the BD just
serviced.
This function is called by the CSL to notify the driver of a status change
or the occurrence of an error during EMAC processing (HOSTPEND
interrupt).
This function is called by the CSL to update the driver with the latest
snapshot of statistics (STATPEND interrupt).
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?