Intel IXP400 manual Channelized Tx/Rx Methods, Channelized Connect

Models: IXP400

1 364
Download 364 pages 16.67 Kb
Page 201
Image 201

Intel® IXP400 Software

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

Figure 62. Channelized Connect

Application Level

Channelized

Client

1. ixHssAccChanConnect (...)

4. ixHssAccChanPortEnable (...)

IxHssAcc

IxNpeMh

Access Layer

2.Configure HssSync Queue

NPE

Physical Interface

IxQMgr

3. Configure NPE

NPE A

5. Enable NPE data flow

HSS Port

B2386-03

1.The client issues a channelized connect request to IxHssAcc.

2.If an rxCallback is configured, the client expects to be triggered by events to drive the Tx and Rx block transfers. IxHssAcc registers the function pointer with IxQMgr to be called back in the context of an ISR when the HssSync queue is not empty.

3.IxHssAcc configures the NPE appropriately.

4.The client enables the channelized service through IxHssAcc.

5.IxHssAcc enables the NPE flow.

If the service was configured to operate in polling mode (i.e., the rxCallback pointer is NULL), the client must poll the IxHssAcc component using the ixHssAccChanStatusQuery() function. IxHssAcc will check the HssSync queue status and return a pointer to the client indicating an offset to the data in the Rx buffers, if any receive data exists at that time.

13.5.2Channelized Tx/Rx Methods

After being initialized, configured, connected, and enabled, the HSS component is up and running. There are two methods to handle channelized service Tx/Rx process: callback and polled.

Programmer’s Guide

IXP400 Software Version 2.0

April 2005

 

Document Number: 252539, Revision: 007

201

Page 201
Image 201
Intel IXP400 manual Channelized Tx/Rx Methods, Channelized Connect