
Intel® IXP400 Software
Access-Layer Components: Ethernet Access (IxEthAcc) API
9.6.1Ethernet MAC Control
The role and responsibility of this module is to enable clients to configure the Ethernet coprocessor MACs for both NPEs. This API permits the setting and retrieval of
9.6.1.1MAC Duplex Settings
Functions are provided for setting the MACs at full or half duplex. This setting should match the setting of the connected PHYs.
9.6.1.2MII I/O
IxEthAcc provides four functions that interact with the MII interfaces for the PHYs connected to the NPEs on the IXDP425 / IXCDP1100 platform and IXDP465 platform. These functions do not support reading PHY registers of devices connected on the PCI interface. The MAC must be enabled with IxEthAccMacInit () first.
•IxEthAccMiiReadRtn () — Read a 16 bit value from a PHY
•IxEthAccMiiWriteRtn () — Write a 16 bit value from a PHY
•ixEthAccMiiAccessTimeoutSet() - Override the default timeout value (100ms) and retry count when reading or writing MII registers using ixEthAccMiiWriteRtn() or ixEthAccMiiReadRtn(). This is useful for speeding up read/write operations to PHY registers.
•IxEthAccMiiStatsShow () — Displays the values of the first eight PHY registers
9.6.1.3Frame Check Sequence
An API is provided to provision whether the MAC appends an
An API is also provided to provision whether the receive buffer — sent to the Intel XScale core’s client — contains the frame FCS or not. The default behavior is to remove the FCS from Rx frames and to calculate and append the FCS on transmitted frames. Rx frames are still subject to FCS validity checks, and frames that fail the FCS check are dropped.
Both of these interfaces operate on a
Special care should be taken when using the VLAN/QoS and 802.3/802.11 Frame Conversion features, as FCS behavior may be different with these features. See Chapter 10 for clarification on these conditions.
9.6.1.4Frame Padding
The IxEthAcc component by default will add up to
Frame padding may not be desirable in all situations, such as when generating a “heartbeat” signal to other nodes on the network. To disable frame padding, the function IxEthAccPortTxFrameAppendPaddingDisable() is available.
Programmer’s Guide | IXP400 Software Version 2.0 | April 2005 |
| Document Number: 252539, Revision: 007 | 145 |