Ethernet Mini-Driver APIs
3.3.4
HwPktSetRx — Configure the Ethernet Receive Filter Settings
Syntax
Parameters
Return Value
Description
3.3.5
HwPktIoctl — Execute Driver-Specific IOCTL Commands
Syntax
Parameters
Return Value
Description
3.3.6
HwPktTxNext — Transmit Next Buffer in the Transmit Queue
Syntax
Parameters
Return Value
Description
3-6
void HwPktSetRx( PDINFO *pi );
pi - Pointer to Ethernet device instance structure.
None
This function is called when the values contained in the PDINFO instance
structure for the Rx filter or multicast list are altered. The mini-driver
calculates hash values based on the new settings if multicast lists are
maintained through hash tables on this platform, and updates the EMAC
settings by calling the CSL layer's EMAC_setReceiveFilter API.
uint HwPktIoctl(PDINFO *pi, uint cmd, void *arg);
pi - Pointer to Ethernet packet device instance structure.
cmd - Device-specific command.
arg - Pointer to command specific argument.
Returns 1 on success and 0 on error.
This function is called to execute a driver-specific IOCTL command. Not
all Ethernet drivers support this API.
void HwPktTxNext( PDINFO *pi );
pi - Pointer to Ethernet packet device instance structure.
None
This function is called to indicate that a packet buffer has been queued in
the transmit pending queue contained in the device instance structure
and the NIMU layer believes the transmitter to be free. This function
dequeues any pending packets in the transmit queue of this device,
allocates a EMAC_Pkt structure (a data structure understood by the CSL
layer) and fills in the packet details and invokes the CSL layer function
EMAC_sendPacket to finally transmit the packet.
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?
Questions and answers