Intel IXP400 Frozen Dessert Maker User Manual


 
Intel
®
IXP400 Software
Access-Layer Components: HSS-Access (IxHssAcc) API
Programmer’s Guide IXP400 Software Version 2.0 April 2005
Document Number: 252539, Revision: 007 201
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.2 Channelized 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.
Figure 62. Channelized Connect
B2386-03
HSS Port
1. ixHssAccChanConnect (...)
Application Level
Channelized
Client
IxHssAcc
IxQMgr
NPE A
Access Layer
NPE
Physical Interface
2. Configure HssSync Queue
IxNpeMh
3. Configure NPE
4. ixHssAccChanPortEnable (...)
5. Enable NPE data flow