Intel® IXP400 Software

Access-Layer Components: HSS-Access (IxHssAcc) API

unsigned blockSizeInWords — The max tx/rx block size.

UINT32 rawIdleBlockPattern — Tx idle pattern in raw mode.

IxHssAccHdlcFraming hdlcTxFraming — This structure contains the following information required by the NPE to configure the HDLC coprocessor for Tx.

IxHssAccHdlcFraming hdlcRxFraming — This structure contains the following information required by the NPE to configure the HDLC coprocessor for Rx.

unsigned frmFlagStart — Number of flags to precede to transmitted flags (0-2).

IxHssAccPktRxCallback rxCallback — Pointer to the clients packet receive function.

IxHssAccPktUserId rxUserId — The client supplied Rx value to be passed back as an argument to the supplied rxCallback.

IxHssAccPktRxFreeLowCallback rxFreeLowCallback — Pointer to the clients Rx-free-buffer request function. If NULL, it is assumed client will free Rx buffers independently.

IxHssAccPktUserId rxFreeLowUserId — The client supplied RxFreeLow value to be passed back as an argument to the supplied rxFreeLowCallback.

IxHssAccPktTxDoneCallback txDoneCallback — Pointer to the clients Tx done callback function.

IxHssAccPktUserId txDoneUserId — The client supplied txDone value to be passed back as an argument to the supplied txDoneCallback.

Now the HSS component can be enabled by calling ixHssAccPktPortEnable() with the port ID provided. Figure 64 shows what is done in IxHssAcc when the packetized service connect function is called.

Programmer’s Guide

IXP400 Software Version 2.0

April 2005

 

Document Number: 252539, Revision: 007

205

Page 205
Image 205
Intel IXP400 manual Document Number 252539, Revision 205