Benutzeranleitung / Produktwartung IXP400 des Produzenten Intel
Zur Seite of 364
Document Number: 252539 , Revision: 007 Intel ® IXP400 Software Programmer’s Guide April 2005.
April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 2 Document Number: 252539 , Revisio n: 007 Intel ® IXP400 Software INFORMA TION IN THIS DOCUMENT IS PROVIDED IN CO NNECTION WITH INTE L ® PRODUCTS.
Intel ® IXP400 Software Content s Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 Contents 1 Introduction . ................ ............. ................ ............. ................ ..........
Intel ® IXP400 Software Content s April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 4 Document Number: 252539 , Revisio n: 007 4.5.1 Scheduled Transmission ...... ................ ................. ................ ............. ..........
Intel ® IXP400 Software Content s Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 7 Access-L ayer Componen ts: Security (IxCryptoAcc) API .. ............. ................ ............. ...........
Intel ® IXP400 Software Content s April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 6 Document Number: 252539 , Revisio n: 007 8.6.1 IxDmaAccDescriptorManager ................... ............. ................ ............. ...............
Intel ® IXP400 Software Content s Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 9.9 Management Information ....... ................ ................ ............. ................ ...............
Intel ® IXP400 Software Content s April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 8 Document Number: 252539 , Revisio n: 007 12 Access-Layer Compone nts: Feature Control ( Ix FeatureCtrl) API ................. ............. .............
Intel ® IXP400 Software Content s Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 15 Access-Laye r Co mponents: NPE Message Handler (Ix NpeMh) API ................... ............. ................
Intel ® IXP400 Software Content s April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 10 Document Nu mb e r: 252539 , Revision: 007 17.9 Threading.............. ................ ................ ............. ................. ..............
Intel ® IXP400 Software Content s Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 20.4 IxTimeSyncAcc API Usage Scenarios ...... ................ ................ ............. ................ ....
Intel ® IXP400 Software Content s April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 12 Document Nu mb e r: 252539 , Revision: 007 24.4.1 Backward Compatibility Module ......... ................ ............. ................ ............. .
Intel ® IXP400 Software Content s Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 27.4.3 Silicon Endianness Controls ..................... ... ... .... ... ... ... ... .... ... ... ... .... ... ...
Intel ® IXP400 Software Content s April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 14 Document Nu mb e r: 252539 , Revision: 007 27 Basic IxCryptoAcc API Flow ................ ............. ... ............. ................ .............
Intel ® IXP400 Software Content s Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 77 Data Abort with No Parity Error . ................ ................. ............. ................ ............
Intel ® IXP400 Software Content s April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 16 Document Nu mb e r: 252539 , Revision: 007 2 IX_MBUF Field Details ........... ............. ................ ................ ............. ...........
Intel ® IXP400 Software Content s Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 49 Default IEEE 1588 Hardware Assi st Block States upon Hardware /Software Reset ............. .... 287 50 IN, OUT, and SETUP Token Packet Format .
Intel ® IXP400 Software Content s April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 18 Document Nu mb e r: 252539 , Revision: 007 Revision History Date Revision Description April 2005 007 Updated guide for IXP400 Software V ersion 2.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 19 Introduction 1 This chapter contains important inform ati on to help you learn about and use the Intel ® IX P4 00 Software v2.
Intel ® IXP400 Software Introduction April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 20 Document Nu mb e r: 252539 , Revision: 007 1.4 How to Use this Document This programmer ’ s guid.
Intel ® IXP400 Software Introduction Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 21 The IXP4XX product line and IXC1 100 control plane process.
Intel ® IXP400 Software Introduction April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 22 Document Nu mb e r: 252539 , Revision: 007 1.7 Acronyms IEEE S t andard for a Precision Clock Sy nchronization Protocol for Networked Measurement and Control Systems (IEEE S td.
Intel ® IXP400 Software Introduction Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 23 CPU Central Processing Unit CRC Cyclic Redundancy Check CS.
Intel ® IXP400 Software Introduction April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 24 Document Nu mb e r: 252539 , Revision: 007 HSS High S peed Serial HSSI High S peed Serial Interfac.
Intel ® IXP400 Software Introduction Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 25 MSB Most Significant Bit MVIP Multi-V endor Integration Pr.
Intel ® IXP400 Software Introduction April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 26 Document Nu mb e r: 252539 , Revision: 007 SIP Session Initiation Protocol SNMP Simple Network Man.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 27 Software Architecture Overview 2 2.1 High-Level Overview The primary design principles of the Intel ® IXP400 Software v2.
Intel ® IXP400 Software Sof tware Architec ture Overview April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 28 Document Nu mb e r: 252539 , Revision: 007 2.2 Deliverable Model Intel ® IXP400 Software v2.0 co nsists of these elements: • Intel ® IXP400 Software v2.
Intel ® IXP400 Software Sof tware Architec ture Overview Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 29 2.3 Operating System Support The Intel XScale microarchitecture offers a broad range of tools together with sup port for two widely adopted operating systems.
Intel ® IXP400 Software Sof tware Architec ture Overview April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 30 Document Nu mb e r: 252539 , Revision: 007 2.
Intel ® IXP400 Software Sof tware Architec ture Overview Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 31 +---cryptoAcc (for crypto version only.
Intel ® IXP400 Software Sof tware Architec ture Overview April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 32 Document Nu mb e r: 252539 , Revision: 007 2.7 Threading and Locking Policy The software release 2.0 access-layer does not impl ement processes or thr eads.
Intel ® IXP400 Software Sof tware Architec ture Overview Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 33 2.10 Global Dependency Chart Figure 2 shows the interdepende ncies for the maj or APIs discu ssed in this document.
This p age is intentionally lef t blank. Intel ® IXP400 Software April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 34 Document Nu mb e r: 252539 , Revision: 007.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 35 Buf fer Management 3 This chapter describes the data buf fer system used in Intel ® IXP400 Software v2.
Intel ® IXP400 Software Buffer Management April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 36 Document Nu mb e r: 252539 , Revision: 007 The access-layer component may call a client-registered callback functi on to return the buf fer , or may put the buffer back on a fr ee queue for the client to poll.
Intel ® IXP400 Software Buffer Management Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 37 The usual fields to be update d between the user and .
Intel ® IXP400 Software Buffer Management April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 38 Document Nu mb e r: 252539 , Revision: 007 3.3 IXP_BUF S tructure As shown in Figure 5 , IXP_BUF is comprised of the follow ing three main structures, and each structure is comprised of eight entries four bytes long.
Intel ® IXP400 Software Buffer Management Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 39 Figure 6. OSAL IXP_BUF structure and mac ros Depending upon the usage model, different software components use the stru ctures to update the internal fields of th e IXP_BUF structure.
Intel ® IXP400 Software Buffer Management April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 40 Document Nu mb e r: 252539 , Revision: 007 Figure 7. API User Interface to IXP_BUF The Figure 8 shows a typical interface between the Intel ® IXP400 Softw are access- layer components and the IXP_BUF fields.
Intel ® IXP400 Software Buffer Management Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 41 Figure 9 below shows the interface between the OSAL pool management module and the pool management fields used for pool maintena nce.
Intel ® IXP400 Software Buffer Management April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 42 Document Nu mb e r: 252539 , Revision: 007 Linux utilizes memory structures called skbuf fs. The user allocates IXP_BUF and sets the data payload pointer to the skbuff payload pointer .
Intel ® IXP400 Software Buffer Management Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 43 Figure 12.
Intel ® IXP400 Software Buffer Management April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 44 Document Nu mb e r: 252539 , Revision: 007 Figure 13. Internal Mapping of IX_MBUF to the Shared NPE Structure 3.5 IX_MBUF S tructure Ta b l e 1 and Ta b l e 2 present IX_MBUF structure format and details.
Intel ® IXP400 Software Buffer Management Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 45 A set of macros are provided for the IXP400 software to access each of the fields in the buf fer structure.
Intel ® IXP400 Software Buffer Management April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 46 Document Nu mb e r: 252539 , Revision: 007 3.6 Mapping to OS Native Buffer T ypes OSAL provides buffer-translation macros for user s to translate OS-speci fic buffer formats to OSAL IXP buffer format and vice versa.
Intel ® IXP400 Software Buffer Management Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 47 Note that the M_BLK structure co ntains many fields that are n ot used by the IXP400 software. These fields are simply ignored and ar e not modified by the IXP400 software.
Intel ® IXP400 Software Buffer Management April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 48 Document Nu mb e r: 252539 , Revision: 007 It works on the following principles: • Each IXP_BUF is mapped to an skbuff (1:1 mapping) • The os_buf_ptr field of the ix_ctrl structure is used to store a pointer to the corresponding skbuff.
Intel ® IXP400 Software Buffer Management Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 49 3.7 Caching S trategy The general caching strategy in.
Intel ® IXP400 Software Buffer Management April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 50 Document Nu mb e r: 252539 , Revision: 007 Tx Cache Flushing Example In the case of an Ethernet bridging system, only the user can determ ine that it is not necessary to flush any part of the packet payload.
Intel ® IXP400 Software Buffer Management Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 51 After the NPE modifies the memory , ensure that the I.
This p age is intentionally lef t blank. Intel ® IXP400 Software April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 52 Document Nu mb e r: 252539 , Revision: 007.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 53 Access-Layer Components: A TM Driver Access (IxAtmdAcc) API 4 This chapter describes the In tel ® IXP400 Software v2.0’ s “A TM Driver-Access” access-layer component.
Intel ® IXP400 Software Access-Layer Co mponent s: A TM Driver Access (IxAtmdAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 54 Document Nu mb e r: 252539 , Revision: 007 • Su.
Intel ® IXP400 Software Access-Layer Component s: A TM Driver Access (IxAtmdAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 55 These stat.
Intel ® IXP400 Software Access-Layer Co mponent s: A TM Driver Access (IxAtmdAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 56 Document Nu mb e r: 252539 , Revision: 007 its own identifier known as a scheduler VcId. This cal lback also serves to allow the scheduling entity to ack nowledge the presence of VC.
Intel ® IXP400 Software Access-Layer Component s: A TM Driver Access (IxAtmdAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 57 • Check for A TM VC already in us e in an other Rx connection.
Intel ® IXP400 Software Access-Layer Co mponent s: A TM Driver Access (IxAtmdAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 58 Document Nu mb e r: 252539 , Revision: 007 — if the overall user application involves a port con figured with a VC supporting a very d ifferent traffic rate .
Intel ® IXP400 Software Access-Layer Component s: A TM Driver Access (IxAtmdAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 59 this VC. In making this callback, ixAtm dAcc is also pro vid ing the AtmScheduler VC identifier that should be used when calling IxAtmdAcc for this VC.
Intel ® IXP400 Software Access-Layer Co mponent s: A TM Driver Access (IxAtmdAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 60 Document Nu mb e r: 252539 , Revision: 007 4.
Intel ® IXP400 Software Access-Layer Component s: A TM Driver Access (IxAtmdAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 61 Processing primarily involves hand ing back ownership of buffers to clients.
Intel ® IXP400 Software Access-Layer Co mponent s: A TM Driver Access (IxAtmdAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 62 Document Nu mb e r: 252539 , Revision: 007 T rans.
Intel ® IXP400 Software Access-Layer Component s: A TM Driver Access (IxAtmdAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 63 1. The data client send s the last PDUs and the control client wants to disconnect the VC.
Intel ® IXP400 Software Access-Layer Co mponent s: A TM Driver Access (IxAtmdAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 64 Document Nu mb e r: 252539 , Revision: 007 In order to receive a PDU, the c lient layer must allocate IXP_BUFs and pass their ownership to the IxAtmdAcc component.
Intel ® IXP400 Software Access-Layer Component s: A TM Driver Access (IxAtmdAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 65 1. A control client wants to use the threshol d services to process the received PDUs.
Intel ® IXP400 Software Access-Layer Co mponent s: A TM Driver Access (IxAtmdAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 66 Document Nu mb e r: 252539 , Revision: 007 Received — Based on a Polling Mech anism A polling mechanism can also be used to collect received buf fers as shown in Figure 20 .
Intel ® IXP400 Software Access-Layer Component s: A TM Driver Access (IxAtmdAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 67 1,2.
Intel ® IXP400 Software Access-Layer Co mponent s: A TM Driver Access (IxAtmdAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 68 Document Nu mb e r: 252539 , Revision: 007 The IXP_BUF fields required for trans mission are desc ribed in Ta b l e 5 .
Intel ® IXP400 Software Access-Layer Component s: A TM Driver Access (IxAtmdAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 69 4.5.4.3 Buffer-Size Constraint s Any IXP_BUF size can be transmitted, but a full PDU must be a multiple of a cell size (48/ 52 bytes, depending on AAL type).
Intel ® IXP400 Software Access-Layer Co mponent s: A TM Driver Access (IxAtmdAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 70 Document Nu mb e r: 252539 , Revision: 007 4.5.5.2 Real-T ime Errors Errors may occur duri ng real-time traf fic.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 71 Access-Layer Components: A TM Manager (IxAtmm) API 5 This chapter describes the In tel ® IXP400 Software v2.0’ s “A TM Manager API” access-layer component.
Intel ® IXP400 Software Access-Layer Co mponent s: A TM Manager (IxAtmm) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 72 Document Nu mb e r: 252539 , Revision: 007 IxAtmm assumes that the client will s upply in itial upstream port rates once the capacity of each port is established.
Intel ® IXP400 Software Access-Layer Component s: A TM Manager (IxAtmm) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 73 5.5 A TM-Port Management Service Model IxAtmm can be considered an “A TM-port management authority .
Intel ® IXP400 Software Access-Layer Co mponent s: A TM Manager (IxAtmm) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 74 Document Nu mb e r: 252539 , Revision: 007 Figure 22 shows the main serv ices prov ided by the IxAtmm component.
Intel ® IXP400 Software Access-Layer Component s: A TM Manager (IxAtmm) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 75 Further calls to IxAtmDAcc must be made by the client follo win g registration with Ix Atm m to fully enable data traffic on a VC.
Intel ® IXP400 Software Access-Layer Co mponent s: A TM Manager (IxAtmm) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 76 Document Nu mb e r: 252539 , Revision: 007 information to the Ix Atm DAcc component, as requir ed to drive the transmit functio n.
Intel ® IXP400 Software Access-Layer Component s: A TM Manager (IxAtmm) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 77 5.
Intel ® IXP400 Software Access-Layer Co mponent s: A TM Manager (IxAtmm) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 78 Document Nu mb e r: 252539 , Revision: 007 5.1 1 Performance The IxAtmm does not operate on the data path of th e IXP4XX product lin e and IXC1 100 control plane processors.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 79 Access-Layer Components: A TM T ransmit Scheduler (IxAtmSch) API 6 This chapter describes the In tel ® IXP400 Software v2.
Intel ® IXP400 Software Access-Layer Co mponent s: A TM T ransmit Scheduler (I xAtmSch) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 80 Document Nu mb e r: 252539 , Revision: 007 .
Intel ® IXP400 Software Access-Layer Compo nent s: A TM T ransmit Scheduler ( IxAtmSch) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 81 6.
Intel ® IXP400 Software Access-Layer Co mponent s: A TM T ransmit Scheduler (I xAtmSch) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 82 Document Nu mb e r: 252539 , Revision: 007 6.
Intel ® IXP400 Software Access-Layer Compo nent s: A TM T ransmit Scheduler ( IxAtmSch) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 83 The schedule table is composed of an array of table entries, each of which specifies a VC ID and a number of cells to transmit from that VC.
Intel ® IXP400 Software Access-Layer Co mponent s: A TM T ransmit Scheduler (I xAtmSch) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 84 Document Nu mb e r: 252539 , Revision: 007 The client calls the VC queue update interface wh enever the user of the VC submits cells for transmission.
Intel ® IXP400 Software Access-Layer Compo nent s: A TM T ransmit Scheduler ( IxAtmSch) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 85 Some function interfaces supplied by the IXP400 software component adhere to structure requirements specified by the Ix AtmdAcc component.
Intel ® IXP400 Software Access-Layer Co mponent s: A TM T ransmit Scheduler (I xAtmSch) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 86 Document Nu mb e r: 252539 , Revision: 007 6.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 87 Access-Layer Components: Security (IxCryptoAcc) API 7 This chapter describes the In tel ® IXP400 Software v2.0’ s “Secu rity API” IxCryptoAcc access- layer component.
Intel ® IXP400 Software Access-Layer Co mponent s: Secur ity (IxCryptoAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 88 Document Nu mb e r: 252539 , Revision: 007 —E C B — CBC — CTR (for AES algorithm only ) — Single-Pass AES-CCM encryption an d security for 802.
Intel ® IXP400 Software Access-Layer Co mponent s: Security (Ix CryptoAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 89 The Intel XScale cor e WEP Engine is a software-based “engine” for performing ARC4 and WEP ICV calculations used by WEP clien ts.
Intel ® IXP400 Software Access-Layer Co mponent s: Secur ity (IxCryptoAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 90 Document Nu mb e r: 252539 , Revision: 007 7.
Intel ® IXP400 Software Access-Layer Co mponent s: Security (Ix CryptoAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 91 The context-regi.
Intel ® IXP400 Software Access-Layer Co mponent s: Secur ity (IxCryptoAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 92 Document Nu mb e r: 252539 , Revision: 007 1. The proper NPE microcode images must be downloaded to the NPEs and initialized, if applicable.
Intel ® IXP400 Software Access-Layer Co mponent s: Security (Ix CryptoAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 93 8. IxCryptoAcc will return a context Id to the clien t ap plication upon successful context registration, and will call the Register Com plet e callback function.
Intel ® IXP400 Software Access-Layer Co mponent s: Secur ity (IxCryptoAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 94 Document Nu mb e r: 252539 , Revision: 007 7.3.6 Dependencies Figure 29 shows the compon ent depende ncie s of the IxCryptoAcc component.
Intel ® IXP400 Software Access-Layer Co mponent s: Security (Ix CryptoAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 95 • IxCryptoAcc depends on th e IxQMgr component to configure and use the hardware queues to access the NPE.
Intel ® IXP400 Software Access-Layer Co mponent s: Secur ity (IxCryptoAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 96 Document Nu mb e r: 252539 , Revision: 007 ixCryptoAccCtxCi pherKeyUp date() This function is called to change the key value of a previously registered context .
Intel ® IXP400 Software Access-Layer Co mponent s: Security (Ix CryptoAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 97 The IPSec protocol stack provid es security for the transpor ted packets by encrypting and authenticating the IP paylo ad.
Intel ® IXP400 Software Access-Layer Co mponent s: Secur ity (IxCryptoAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 98 Document Nu mb e r: 252539 , Revision: 007 7.4.2 IPSec Packet Format s IPSec standards have defined packet formats.
Intel ® IXP400 Software Access-Layer Co mponent s: Security (Ix CryptoAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 99 In AH mode, the ICV value is part of the authenticat ion header . AH is embedded in the data to be protected.
Intel ® IXP400 Software Access-Layer Co mponent s: Secur ity (IxCryptoAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 100 Docume nt Numb e r: 252539 , Revision: 007 7.4.2.2 Reference AH Dat aflow Figure 35 shows the example data flow for IP Security environment.
Intel ® IXP400 Software Access-Layer Co mponent s: Security (Ix CryptoAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 101 7.
Intel ® IXP400 Software Access-Layer Co mponent s: Secur ity (IxCryptoAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 102 Docume nt Numb e r: 252539 , Revision: 007 1. The proper NPE microcode images must have been downloaded to the NPE and initialized.
Intel ® IXP400 Software Access-Layer Co mponent s: Security (Ix CryptoAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 103 4.
Intel ® IXP400 Software Access-Layer Co mponent s: Secur ity (IxCryptoAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 104 Docume nt Numb e r: 252539 , Revision: 007 2. Use AES-CTR mode to encrypt the payload with counter values 1, 2, 3, … 3.
Intel ® IXP400 Software Access-Layer Co mponent s: Security (Ix CryptoAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 105 2. Register another crypto context for AES-CT R encryption (cipher cont ext).
Intel ® IXP400 Software Access-Layer Co mponent s: Secur ity (IxCryptoAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 106 Docume nt Numb e r: 252539 , Revision: 007 AES-CBC operation into the packet , between header and payload.
Intel ® IXP400 Software Access-Layer Co mponent s: Security (Ix CryptoAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 107 • *pSrcMbuf — a pointer to IX_MBUF , which contains data to be processed.
Intel ® IXP400 Software Access-Layer Co mponent s: Secur ity (IxCryptoAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 108 Docume nt Numb e r: 252539 , Revision: 007 These accele.
Intel ® IXP400 Software Access-Layer Co mponent s: Security (Ix CryptoAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 109 1. The proper NPE microcode images must have been downloaded to th e NPE and initialized.
Intel ® IXP400 Software Access-Layer Co mponent s: Secur ity (IxCryptoAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 110 Docume nt Numb e r: 252539 , Revision: 007 4.
Intel ® IXP400 Software Access-Layer Co mponent s: Security (Ix CryptoAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 111 The ixCryptoAcc.
Intel ® IXP400 Software Access-Layer Co mponent s: Secur ity (IxCryptoAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 112 Docume nt Numb e r: 252539 , Revision: 007 SSL client a.
Intel ® IXP400 Software Access-Layer Co mponent s: Security (Ix CryptoAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 113 The hardware accelerator component provides an interface for performing a single pass CCMP- MIC computation and verification with CTR mode encryption /decryption.
This p age is intentionally lef t blank. Intel ® IXP400 Software April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 114 Docume nt Numb e r: 252539 , Revision: 007.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 115 Access-Layer Components: DMA Access Driver (IxDmaAcc) API 8 This chapter describes the In tel ® IXP400 Software v2.0’ s “DMA Access Driver” access-layer component.
Intel ® IXP400 Software Access-Layer Co mponent s: DMA Access Driver (IxDmaAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 116 Docume nt Numb e r: 252539 , Revision: 007 • IxDmaAcc has no knowledge on the devices that involve in the DMA transfer .
Intel ® IXP400 Software Access-Layer Compo nent s: DMA Acce ss Driver (IxDma Acc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 117 Note: IxDmaAcc components are in white. Figure 44 shows the dependency between IxDmaAcc co mponent and other ex ternal components (in grey).
Intel ® IXP400 Software Access-Layer Co mponent s: DMA Access Driver (IxDmaAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 118 Docume nt Numb e r: 252539 , Revision: 007 The ixD.
Intel ® IXP400 Software Access-Layer Compo nent s: DMA Acce ss Driver (IxDma Acc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 119 8.
Intel ® IXP400 Software Access-Layer Co mponent s: DMA Access Driver (IxDmaAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 120 Docume nt Numb e r: 252539 , Revision: 007 8.7.5 Addressing Modes Addressing mode describes the types of source and destination addresses to be accessed.
Intel ® IXP400 Software Access-Layer Compo nent s: DMA Acce ss Driver (IxDma Acc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 121 8.7.7 Supported Modes This section summarizes the transfer modes su pported by the IxDmaAcc.
Intel ® IXP400 Software Access-Layer Co mponent s: DMA Access Driver (IxDmaAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 122 Docume nt Numb e r: 252539 , Revision: 007 T able 15.
Intel ® IXP400 Software Access-Layer Compo nent s: DMA Acce ss Driver (IxDma Acc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 123 8.8 Dat a Flow The purpose of the DMA access layer is to transfer DMA configuration inform ation from its clients to the NPEs.
Intel ® IXP400 Software Access-Layer Co mponent s: DMA Access Driver (IxDmaAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 124 Docume nt Numb e r: 252539 , Revision: 007 Upon completion of the DMA transfer , the NPE writes a message to the AQM-done queue.
Intel ® IXP400 Software Access-Layer Compo nent s: DMA Acce ss Driver (IxDma Acc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 125 1. Client calls ixDmaAccInit to initialize the IxDm aAcc component with an NPE ID as a parameter .
Intel ® IXP400 Software Access-Layer Co mponent s: DMA Access Driver (IxDmaAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 126 Docume nt Numb e r: 252539 , Revision: 007 0. Client needs to initialize and configure the hardware for the DM A transfer to ensure that the devices are set up properly and ready for DMA transfer .
Intel ® IXP400 Software Access-Layer Compo nent s: DMA Acce ss Driver (IxDma Acc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 127 8. The descriptor pool needs to be guarded by mutual exclus ion because there are two contexts that access the pool descri ptor buf fer (see S tep 3 ).
Intel ® IXP400 Software Access-Layer Co mponent s: DMA Access Driver (IxDmaAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 128 Docume nt Numb e r: 252539 , Revision: 007 • Burst mode is not supported for DM A targets at AHB South Bus.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 129 Access-Layer Components: Ethernet Access (IxEthAcc) API 9 This chapter describes the In tel ® IXP400 Software v2.0’ s “Ethernet Access API” access-layer component.
Intel ® IXP400 Software Access-Layer Co mponent s: Ethe rnet Access (IxEthAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 130 Docume nt Numb e r: 252539 , Revision: 007 The data path for each of these devices is acce ssible via dedicated NPEs.
Intel ® IXP400 Software Access-Layer Compo nent s: Ethernet Acc ess (IxEthAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 131 9.3.2 Queue Manage r The AHB Queue Manager i s a hardware block that communicates buffer pointers between the NPE cores and the Intel XScale core.
Intel ® IXP400 Software Access-Layer Co mponent s: Ethe rnet Access (IxEthAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 132 Docume nt Numb e r: 252539 , Revision: 007 9.
Intel ® IXP400 Software Access-Layer Compo nent s: Ethernet Acc ess (IxEthAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 133 9.5 Dat a Plane The data plane is responsibl e for the transmission and r eception of Ethernet frames.
Intel ® IXP400 Software Access-Layer Co mponent s: Ethe rnet Access (IxEthAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 134 Docume nt Numb e r: 252539 , Revision: 007 9.
Intel ® IXP400 Software Access-Layer Compo nent s: Ethernet Acc ess (IxEthAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 135 3. Register a callback function for the port. This function will be called when the transmission buffer is placed in the TxDone queue.
Intel ® IXP400 Software Access-Layer Co mponent s: Ethe rnet Access (IxEthAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 136 Docume nt Numb e r: 252539 , Revision: 007 There are two scheduling disciplines selectable via the IxEthAccTxSchedulerDiscipline ().
Intel ® IXP400 Software Access-Layer Compo nent s: Ethernet Acc ess (IxEthAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 137 Tx FIFO No .
Intel ® IXP400 Software Access-Layer Co mponent s: Ethe rnet Access (IxEthAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 138 Docume nt Numb e r: 252539 , Revision: 007 9.5.3.1 Receive Flow 1. Proper NPE images must be downlo aded to the NPEs and initialized.
Intel ® IXP400 Software Access-Layer Compo nent s: Ethernet Acc ess (IxEthAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 139 9.
Intel ® IXP400 Software Access-Layer Co mponent s: Ethe rnet Access (IxEthAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 140 Docume nt Numb e r: 252539 , Revision: 007 C ode le t or c lie nt a pplic a t ion Ix E t hA c c Ix QM gr 1.
Intel ® IXP400 Software Access-Layer Compo nent s: Ethernet Acc ess (IxEthAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 141 This is configured using the ixEthAccR xSchedulingDiscipl ineSet() function.
Intel ® IXP400 Software Access-Layer Co mponent s: Ethe rnet Access (IxEthAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 142 Docume nt Numb e r: 252539 , Revision: 007 9.5.3.3 Additional Recei ve Path Information No Receive Polling An Rx polling interface is not provided for the serv ice.
Intel ® IXP400 Software Access-Layer Compo nent s: Ethernet Acc ess (IxEthAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 143 IPv4 Payloa.
Intel ® IXP400 Software Access-Layer Co mponent s: Ethe rnet Access (IxEthAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 144 Docume nt Numb e r: 252539 , Revision: 007 The relationship between IxEt hAcc, IxEthDB, and IxEthMii is shown in Fig ure 53 .
Intel ® IXP400 Software Access-Layer Compo nent s: Ethernet Acc ess (IxEthAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 145 9.6.1 Ethernet MAC Control The role and responsib ility of this module i s to enable clients to configure the Et hernet coprocessor MACs for both NPEs.
Intel ® IXP400 Software Access-Layer Co mponent s: Ethe rnet Access (IxEthAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 146 Docume nt Numb e r: 252539 , Revision: 007 This feature is available on a per-port basis and should be set before a port is enabled.
Intel ® IXP400 Software Access-Layer Compo nent s: Ethernet Acc ess (IxEthAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 147 9.6.1.7 NPE Loopback T wo functions are provided that enable or disabl e NPE-level Ethernet loop back fo r the NPE ports.
Intel ® IXP400 Software Access-Layer Co mponent s: Ethe rnet Access (IxEthAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 148 Docume nt Numb e r: 252539 , Revision: 007 IX_OSAL_MBUFs The buffer descriptor format supported is the IX_OSAL_MBUF , which is defined in Chapter 3 .
Intel ® IXP400 Software Access-Layer Compo nent s: Ethernet Acc ess (IxEthAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 149 T able 19.
Intel ® IXP400 Software Access-Layer Co mponent s: Ethe rnet Access (IxEthAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 150 Docume nt Numb e r: 252539 , Revision: 007 ixp_ne_flags.
Intel ® IXP400 Software Access-Layer Compo nent s: Ethernet Acc ess (IxEthAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 151 ixp_ne_flags.vlan_en T ransmit path VLAN functionality enabl e flag.
Intel ® IXP400 Software Access-Layer Co mponent s: Ethe rnet Access (IxEthAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 152 Docume nt Numb e r: 252539 , Revision: 007 9.9 Management Information The IxEthAcc component provides MI B II EtherObj statistics for each interface.
Intel ® IXP400 Software Access-Layer Compo nent s: Ethernet Acc ess (IxEthAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 153 • IxEthAc.
Intel ® IXP400 Software Access-Layer Co mponent s: Ethe rnet Access (IxEthAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 154 Docume nt Numb e r: 252539 , Revision: 007 T able 24.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 155 Access-Layer Components: Ethernet Database (IxEthDB) API 10 This chapter describes the In tel ® IXP400 Software v2.0 “Eth ernet Database API” access-layer component.
Intel ® IXP400 Software Access-Layer Co mponent s: Et hernet Dat abase (IxEthDB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 156 Docume nt Numb e r: 252539 , Revision: 007 • 802.
Intel ® IXP400 Software Access-Layer Compon ent s: Ethernet Data base (IxEthDB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 157 Filtering .
Intel ® IXP400 Software Access-Layer Co mponent s: Et hernet Dat abase (IxEthDB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 158 Docume nt Numb e r: 252539 , Revision: 007 — Po.
Intel ® IXP400 Software Access-Layer Compon ent s: Ethernet Data base (IxEthDB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 159 Wa r n i n g : The id value assigned to NPE ports in IxEthDbPortD efs.
Intel ® IXP400 Software Access-Layer Co mponent s: Et hernet Dat abase (IxEthDB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 160 Docume nt Numb e r: 252539 , Revision: 007 address entries and can expire ol der entries as appropriate.
Intel ® IXP400 Software Access-Layer Compon ent s: Ethernet Data base (IxEthDB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 161 FCS, for example) that causes the frame to ex ceed the maximum frame si ze, the frame will not be transmitted.
Intel ® IXP400 Software Access-Layer Co mponent s: Et hernet Dat abase (IxEthDB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 162 Docume nt Numb e r: 252539 , Revision: 007 • al.
Intel ® IXP400 Software Access-Layer Compon ent s: Ethernet Data base (IxEthDB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 163 10.3.4.1 B ackground – VLAN Da ta in Ethernet Frames According to IEEE802.
Intel ® IXP400 Software Access-Layer Co mponent s: Et hernet Dat abase (IxEthDB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 164 Docume nt Numb e r: 252539 , Revision: 007 The VLAN tagged Ethernet frame format, as specified in IEEE802.
Intel ® IXP400 Software Access-Layer Compon ent s: Ethernet Data base (IxEthDB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 165 ACCEP T_ALL_FRAMES or VLAN_T AGGED_FRAMES. Failure to do so will fi lter all VLAN traffic except those frames tagged with VLAN ID 0.
Intel ® IXP400 Software Access-Layer Co mponent s: Et hernet Dat abase (IxEthDB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 166 Docume nt Numb e r: 252539 , Revision: 007 For example, Port 1 is configured with a PVID set to 12 and VLAN membersh ip group of {1, 2, 10, 12, 20 to 40, 100, 102, 3000 to 3010}.
Intel ® IXP400 Software Access-Layer Compon ent s: Ethernet Data base (IxEthDB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 167 • The frame IX_OSAL_ MBUF header can contain override information (flags – see above) explicitly statin g whether the frame is to be tagged or not.
Intel ® IXP400 Software Access-Layer Co mponent s: Et hernet Dat abase (IxEthDB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 168 Docume nt Numb e r: 252539 , Revision: 007 An overview of the Eg ress tagging process is shown in Figure 55 .
Intel ® IXP400 Software Access-Layer Compon ent s: Ethernet Data base (IxEthDB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 169 10.3.4.7 P ort ID Extraction A device connected to an MII interface can be a single one-port Ethern et PHY or a multi-port device (such as a switch).
Intel ® IXP400 Software Access-Layer Co mponent s: Et hernet Dat abase (IxEthDB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 170 Docume nt Numb e r: 252539 , Revision: 007 10.3.5.2 R eceive Priority Queuing Incoming frames will be classified into an internal traffic class, either by mapping the 802.
Intel ® IXP400 Software Access-Layer Compon ent s: Ethernet Data base (IxEthDB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 171 T raf fic class for untagged frames (unexpedited traf fic) is automatically selected from the default traffic class associated with the port.
Intel ® IXP400 Software Access-Layer Co mponent s: Et hernet Dat abase (IxEthDB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 172 Docume nt Numb e r: 252539 , Revision: 007 At initialization, a default t raffic class mapping is provided, as shown T able 29 .
Intel ® IXP400 Software Access-Layer Compon ent s: Ethernet Data base (IxEthDB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 173 Abbreviations: • FC - Frame Control • DID - Duration / ID • SC - Sequence Control The usage of the 802.
Intel ® IXP400 Software Access-Layer Co mponent s: Et hernet Dat abase (IxEthDB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 174 Docume nt Numb e r: 252539 , Revision: 007 In 802.3 frames, there is a 2-byte Length/T ype field, the interpretation of whic h depend s on whether its value is smaller than 0x0600.
Intel ® IXP400 Software Access-Layer Compon ent s: Ethernet Data base (IxEthDB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 175 It is important to no te that the IX_OSAL_MBUF s extracted from the EthR xFree queue by the NPE may be used to del iver both IEEE802.
Intel ® IXP400 Software Access-Layer Co mponent s: Et hernet Dat abase (IxEthDB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 176 Docume nt Numb e r: 252539 , Revision: 007 state so that the converted frame is treated as an untagged fo r the purpose of VLAN egress tagging.
Intel ® IXP400 Software Access-Layer Compon ent s: Ethernet Data base (IxEthDB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 177 10.
Intel ® IXP400 Software Access-Layer Co mponent s: Et hernet Dat abase (IxEthDB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 178 Docume nt Numb e r: 252539 , Revision: 007 10.4.3 Feature Set IxEthDB is structured in a feature set, which can be enabled, disabled and configured at run time.
Intel ® IXP400 Software Access-Layer Compon ent s: Ethernet Data base (IxEthDB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 179 done using ixEthDBUserFieldG et().
Intel ® IXP400 Software Access-Layer Co mponent s: Et hernet Dat abase (IxEthDB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 180 Docume nt Numb e r: 252539 , Revision: 007 T ransmit T raffic For transmission services, the NPE calculates a valid FCS as its final step prior to transmitting the frame to the P HY .
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 181 Access-Layer Components: Ethernet PHY (IxEthMii) API 11 This chapter describes the In tel ® IXP400 Software v2.0’ s “Ethernet PHY API” access-layer component.
Intel ® IXP400 Software Access-Layer Co mponent s: Ethe rnet PHY (IxEthMii) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 182 Docume nt Numb e r: 252539 , Revision: 007 ixp400_xscale_sw/src/ethMii/IxEthMii_p.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 183 Access-Layer Components: Feature Control (IxFeatureCtrl) API 12 This chapter describes the In tel ® IXP400 Software v2.0’ s “Feat ure Control API” access-layer component.
Intel ® IXP400 Software Access-Layer Co mponent s: Feature Control (IxFea tureCtrl) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 184 Docume nt Numb e r: 252539 , Revision: 007 stepping. For th e IXP42X product lin e, this register is used to determine t he maximum core clock speed.
Intel ® IXP400 Software Access-Layer Component s: Feature Control (IxFeatureCtrl) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 185 12.
Intel ® IXP400 Software Access-Layer Co mponent s: Feature Control (IxFea tureCtrl) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 186 Docume nt Numb e r: 252539 , Revision: 007 12.4 Component Check by Other APIs The ixFeatureCtrlCompone ntCheck( ) function checks for the ava ilability of th e specified hardware component.
Intel ® IXP400 Software Access-Layer Component s: Feature Control (IxFeatureCtrl) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 187 processors, and all versions of the IXP46 X product line will use the standard ixQMgrDispatcherLoopRunB0 dispat cher .
This p age is intentionally lef t blank. Intel ® IXP400 Software April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 188 Docume nt Numb e r: 252539 , Revision: 007.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 189 Access-Layer Components: HSS-Access (IxHssAcc) API 13 This chapter describes the In tel ® IXP400 Software v2.0’ s “H SS-Access API” access-layer component.
Intel ® IXP400 Software Access-Layer Co mponent s: HSS-Ac cess (IxHssAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 190 Docume nt Numb e r: 252539 , Revision: 007 Features The HSS access component is used by a client ap plication to configure both the HSS and HDLC coprocessors and to obtain services from the coprocessors.
Intel ® IXP400 Software Access-Layer Comp onen t s: HSS-Access (IxHssAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 191 IxHssAcc presents two “services” to the client application.
Intel ® IXP400 Software Access-Layer Co mponent s: HSS-Ac cess (IxHssAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 192 Docume nt Numb e r: 252539 , Revision: 007 13.
Intel ® IXP400 Software Access-Layer Comp onen t s: HSS-Access (IxHssAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 193 The HSS coprocessor communicates with an external de vice using three signals per directi on: a frame pulse, clock, and data bit.
Intel ® IXP400 Software Access-Layer Co mponent s: HSS-Ac cess (IxHssAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 194 Docume nt Numb e r: 252539 , Revision: 007 Note: PPM frame length error is calcula ted from ideal frame frequency .
Intel ® IXP400 Software Access-Layer Comp onen t s: HSS-Access (IxHssAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 195 The time slots w.
Intel ® IXP400 Software Access-Layer Co mponent s: HSS-Ac cess (IxHssAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 196 Docume nt Numb e r: 252539 , Revision: 007 7.
Intel ® IXP400 Software Access-Layer Comp onen t s: HSS-Access (IxHssAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 197 • Packetized (HDLC) service is coupled with the HSS port.
Intel ® IXP400 Software Access-Layer Co mponent s: HSS-Ac cess (IxHssAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 198 Docume nt Numb e r: 252539 , Revision: 007 • IxHssAccTdmSlotUsage *tdmMap — A pointer to an array defin ing the HSS time-slot assignment types.
Intel ® IXP400 Software Access-Layer Comp onen t s: HSS-Access (IxHssAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 199 IxHssAccTdmSlotU.
Intel ® IXP400 Software Access-Layer Co mponent s: HSS-Ac cess (IxHssAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 200 Docume nt Numb e r: 252539 , Revision: 007 • UINT8 *rxCircular — A pointer to the Rx data pool allocated by the client as described in previous section.
Intel ® IXP400 Software Access-Layer Comp onen t s: HSS-Access (IxHssAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 201 1. The client issues a channeli zed connect request to IxHssAcc. 2.
Intel ® IXP400 Software Access-Layer Co mponent s: HSS-Ac cess (IxHssAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 202 Docume nt Numb e r: 252539 , Revision: 007 13.5.2.1 CallBack If the pointer to the rxCallback () is not NULL when ixHssAccChanConnect () is called, an ISR will call rxCallback () to handle Tx/Rx data.
Intel ® IXP400 Software Access-Layer Comp onen t s: HSS-Access (IxHssAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 203 1. After reading a configurable amount of data from the HSS port and writing th e same amount of data to the HSSport, the NP E writes to the hssSync queue.
Intel ® IXP400 Software Access-Layer Co mponent s: HSS-Ac cess (IxHssAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 204 Docume nt Numb e r: 252539 , Revision: 007 13.
Intel ® IXP400 Software Access-Layer Comp onen t s: HSS-Access (IxHssAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 205 • unsigned blockSizeInW ords — The max tx/rx block size. • UINT32 rawIdleBlockPattern — Tx idle pattern in raw mode.
Intel ® IXP400 Software Access-Layer Co mponent s: HSS-Ac cess (IxHssAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 206 Docume nt Numb e r: 252539 , Revision: 007 1. The client issues a packet service connect request to IxHssAcc.
Intel ® IXP400 Software Access-Layer Comp onen t s: HSS-Access (IxHssAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 207 When the transmi.
Intel ® IXP400 Software Access-Layer Co mponent s: HSS-Ac cess (IxHssAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 208 Docume nt Numb e r: 252539 , Revision: 007 1. The client presents an IXP_BU F to IxHssAcc for transmissi on.
Intel ® IXP400 Software Access-Layer Comp onen t s: HSS-Access (IxHssAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 209 Here is an examp.
Intel ® IXP400 Software Access-Layer Co mponent s: HSS-Ac cess (IxHssAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 210 Docume nt Numb e r: 252539 , Revision: 007 Alternatively , the client can use its own timer for suppling IXP_BUFs to the queue.
Intel ® IXP400 Software Access-Layer Comp onen t s: HSS-Access (IxHssAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 211 13.
Intel ® IXP400 Software Access-Layer Co mponent s: HSS-Ac cess (IxHssAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 212 Docume nt Numb e r: 252539 , Revision: 007 An IXP_BUF po.
Intel ® IXP400 Software Access-Layer Comp onen t s: HSS-Access (IxHssAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 213 For Tx, buffers are allocated fr om the IXP_BUF pool by calling IX_OSAL_MB UF_POOL_G ET ().
Intel ® IXP400 Software Access-Layer Co mponent s: HSS-Ac cess (IxHssAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 214 Docume nt Numb e r: 252539 , Revision: 007 13.
Intel ® IXP400 Software Access-Layer Comp onen t s: HSS-Access (IxHssAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 215 All the buffers have the same length.
Intel ® IXP400 Software Access-Layer Co mponent s: HSS-Ac cess (IxHssAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 216 Docume nt Numb e r: 252539 , Revision: 007 For transmission, ixOsServCacheDmaMalloc () is used to allocated two pools: a data buffer pool and a pointer list pool.
Intel ® IXP400 Software Access-Layer Comp onen t s: HSS-Access (IxHssAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 217 Figure 70. HSS Channelized T ransmit Operation ... Chann el : F0- TSa F0- TSb F0- TSc .
This p age is intentionally lef t blank. Intel ® IXP400 Software April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 218 Docume nt Numb e r: 252539 , Revision: 007.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 219 Access-Layer Components: NPE-Downloader (IxNpeDl) API 14 This chapter describes the In tel ® IXP400 Software v2.0’ s “NPE-D own loader API” access-layer component.
Intel ® IXP400 Software Access-Layer Co mponent s: NPE-Download er (IxNpe Dl) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 220 Docume nt Numb e r: 252539 , Revision: 007 The “Microcode from File” feature is only avai lable for Linux.
Intel ® IXP400 Software Access-Layer Co mponent s: NPE-Downloa der ( IxNpeDl) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 221 T able 42. NPE-A Images Image Name Description IX_NPEDL_NPEIMAGE_NPEA_HSS0 NPE Image ID for NPE-A with HSS-0 Only feature.
Intel ® IXP400 Software Access-Layer Co mponent s: NPE-Download er (IxNpe Dl) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 222 Docume nt Numb e r: 252539 , Revision: 007 T able 43. NPE-B Images Image Name Description IX_NPEDL_NPEIMAGE_NPEB_DMA NPE Image ID for NPE-B with DMA-Only feature.
Intel ® IXP400 Software Access-Layer Co mponent s: NPE-Downloa der ( IxNpeDl) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 223 14.5 Custom Usage Example Using a custom image is the second option for starting an NPE.
Intel ® IXP400 Software Access-Layer Co mponent s: NPE-Download er (IxNpe Dl) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 224 Docume nt Numb e r: 252539 , Revision: 007 The IxNpeDl should be uninitial ized prior to unloading an application module or dri ver .
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 225 Access-Layer Components: NPE Message Handler (IxNpeMh) API 15 This chapter describes the In tel ® IXP400 Software v2.0’ s “NPE Message Handler API” access- layer component.
Intel ® IXP400 Software Access-Layer Co mponent s: NPE Mes sage Handler (IxNpeMh ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 226 Docume nt Numb e r: 252539 , Revision: 007 The solicited callback list contains the list of callbacks corresponding to solicited messages not yet received from the NPE.
Intel ® IXP400 Software Access-Layer Compo nent s: NPE Message Ha ndler (IxNpeMh) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 227 15.
Intel ® IXP400 Software Access-Layer Co mponent s: NPE Mes sage Handler (IxNpeMh ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 228 Docume nt Numb e r: 252539 , Revision: 007 15.5.2 Sending an NPE Messag e with Response In this case, the client’ s message requires a re sponse from the NPE.
Intel ® IXP400 Software Access-Layer Compo nent s: NPE Message Ha ndler (IxNpeMh) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 229 7.
Intel ® IXP400 Software Access-Layer Co mponent s: NPE Mes sage Handler (IxNpeMh ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 230 Docume nt Numb e r: 252539 , Revision: 007 5. Since this is an unsolicited message, the IxNpeMh component inv okes the correspo ndin g unsolicited callback to pass the message back to the client.
Intel ® IXP400 Software Access-Layer Compo nent s: NPE Message Ha ndler (IxNpeMh) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 231 15.
This p age is intentionally lef t blank. Intel ® IXP400 Software April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 232 Docume nt Numb e r: 252539 , Revision: 007.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 233 Access-Layer Components: Parity Error Notifier (IxParityENAcc) API 16 This chapter describes Intel ® IXP400 Softw are v2.
Intel ® IXP400 Software Access-Layer Co mponent s: Pa rity Er ror Notifier ( IxParityENAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 234 Docume nt Numb e r: 252539 , Revision: 007 For the purposes of this document, the following terms will be used as defined below .
Intel ® IXP400 Software Access-Layer Component s: Parity Error Notifier (IxParityENAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 235 16.
Intel ® IXP400 Software Access-Layer Co mponent s: Pa rity Er ror Notifier ( IxParityENAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 236 Docume nt Numb e r: 252539 , Revision: 007 16.
Intel ® IXP400 Software Access-Layer Component s: Parity Error Notifier (IxParityENAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 237 16.
Intel ® IXP400 Software Access-Layer Co mponent s: Pa rity Er ror Notifier ( IxParityENAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 238 Docume nt Numb e r: 252539 , Revision: 007 IxParityENAcc depends on various hardware regist ers to fetch the parity error information upo n receiving an interrupt due to parity error .
Intel ® IXP400 Software Access-Layer Component s: Parity Error Notifier (IxParityENAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 239 .
Intel ® IXP400 Software Access-Layer Co mponent s: Pa rity Er ror Notifier ( IxParityENAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 240 Docume nt Numb e r: 252539 , Revision: 007 3. When a parity error occurs, the interrupt w ill fire and invoke the ISR of the IxParityENAcc component.
Intel ® IXP400 Software Access-Layer Component s: Parity Error Notifier (IxParityENAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 241 16.4.2 Summary Parity Error Recovery Scenario IxParityENAcc does no t perform pa rity error recovery tasks.
Intel ® IXP400 Software Access-Layer Co mponent s: Pa rity Er ror Notifier ( IxParityENAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 242 Docume nt Numb e r: 252539 , Revision: 007 For multi-bi t parity error s, no error correction is po ssible and the Intel XScale core will be notified.
Intel ® IXP400 Software Access-Layer Component s: Parity Error Notifier (IxParityENAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 243 It is important to note that if an inte rrupt con diti on is not cleared then it wi ll result in the parity interrupt being triggered again.
Intel ® IXP400 Software Access-Layer Co mponent s: Pa rity Er ror Notifier ( IxParityENAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 244 Docume nt Numb e r: 252539 , Revision:.
Intel ® IXP400 Software Access-Layer Component s: Parity Error Notifier (IxParityENAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 245 Th.
Intel ® IXP400 Software Access-Layer Co mponent s: Pa rity Er ror Notifier ( IxParityENAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 246 Docume nt Numb e r: 252539 , Revision: 007 Figure 83.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 247 Access-Layer Components: Performance Profiling (IxPerfProfAcc) API 17 This chapter describes the In tel ® IXP400 Software v2.
Intel ® IXP400 Software Access-Layer Co mponent s: Perf ormance Profiling (IxPerfPr ofAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 248 Docume nt Numb e r: 252539 , Revision: 007 17.
Intel ® IXP400 Software Access-Layer Compon ent s: Performance Profiling (IxPerfProfAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 249 Event-based sampling will allow the cli en t to id entify the “ho t spots” of the program for further optimization.
Intel ® IXP400 Software Access-Layer Co mponent s: Perf ormance Profiling (IxPerfPr ofAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 250 Docume nt Numb e r: 252539 , Revision: 007 • SDRAM controller usage — Usage monitored in al l eight pages of the SDRAM, i.
Intel ® IXP400 Software Access-Layer Compon ent s: Performance Profiling (IxPerfProfAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 251 The client will call IxPerfProfA cc to access specific performance st atistics of the Intel XScale core’ s PMU and internal bus PMU.
Intel ® IXP400 Software Access-Layer Co mponent s: Perf ormance Profiling (IxPerfPr ofAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 252 Docume nt Numb e r: 252539 , Revision: 007 17.9 Threading The Xcycle component spawns a ne w task to work in the background.
Intel ® IXP400 Software Access-Layer Compon ent s: Performance Profiling (IxPerfProfAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 253 17.
Intel ® IXP400 Software Access-Layer Co mponent s: Perf ormance Profiling (IxPerfPr ofAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 254 Docume nt Numb e r: 252539 , Revision: 007 The number of events that can be monitored simultaneously range from zero to four at a tim e.
Intel ® IXP400 Software Access-Layer Compon ent s: Performance Profiling (IxPerfProfAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 255 I.
Intel ® IXP400 Software Access-Layer Co mponent s: Perf ormance Profiling (IxPerfPr ofAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 256 Docume nt Numb e r: 252539 , Revision: 007 2.
Intel ® IXP400 Software Access-Layer Compon ent s: Performance Profiling (IxPerfProfAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 257 iii.
Intel ® IXP400 Software Access-Layer Co mponent s: Perf ormance Profiling (IxPerfPr ofAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 258 Docume nt Numb e r: 252539 , Revision: 007 The steps needed to run this utility are: 1.
Intel ® IXP400 Software Access-Layer Compon ent s: Performance Profiling (IxPerfProfAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 259 A.
Intel ® IXP400 Software Access-Layer Co mponent s: Perf ormance Profiling (IxPerfPr ofAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 260 Docume nt Numb e r: 252539 , Revision: 007 17.
Intel ® IXP400 Software Access-Layer Compon ent s: Performance Profiling (IxPerfProfAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 261 17.
Intel ® IXP400 Software Access-Layer Co mponent s: Perf ormance Profiling (IxPerfPr ofAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 262 Docume nt Numb e r: 252539 , Revision:.
Intel ® IXP400 Software Access-Layer Compon ent s: Performance Profiling (IxPerfProfAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 263 4. Obtain the results by calling: 5. Print the value of al l the PECs: 6.
Intel ® IXP400 Software Access-Layer Co mponent s: Perf ormance Profiling (IxPerfPr ofAcc ) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 264 Docume nt Numb e r: 252539 , Revision: 007 This pointe r is interpr eted as “the n umber of 66-MHz clock ticks for one measurement.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 265 Access-Layer Components: Queue Manager (IxQMgr) API 18 This chapter describes the In tel ® IXP400 Software v2.0’ s “Queue Manager API” access-layer component.
Intel ® IXP400 Software Access-Layer Co mponent s: Queue Man ager (IxQMgr) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 266 Docume nt Numb e r: 252539 , Revision: 007 18.
Intel ® IXP400 Software Access-Layer Component s: Queue Manager (IxQMgr) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 267 — For queues 32-63, the notificatio n source is the assertion or de-assertion of the Nearly Empty flag and cannot be changed.
Intel ® IXP400 Software Access-Layer Co mponent s: Queue Man ager (IxQMgr) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 268 Docume nt Numb e r: 252539 , Revision: 007 18.
Intel ® IXP400 Software Access-Layer Component s: Queue Manager (IxQMgr) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 269 may be called from a client polling mechani sm, whic h calls the dispatcher to read the queues status at regular intervals.
Intel ® IXP400 Software Access-Layer Co mponent s: Queue Man ager (IxQMgr) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 270 Docume nt Numb e r: 252539 , Revision: 007 mechanism, although the cho ice of implementation woul d depend upon the OS, the application, and the nature of the traf fic.
Intel ® IXP400 Software Access-Layer Component s: Queue Manager (IxQMgr) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 271 5. The ISR invokes the dispatcher . Note: In the context of an inte rrupt, the dispatcher can also be i nvoked through a timer -based mecha nism.
Intel ® IXP400 Software Access-Layer Co mponent s: Queue Man ager (IxQMgr) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 272 Docume nt Numb e r: 252539 , Revision: 007 2. When the NPE receives a packet, it update s the Rx queue with location of the buffer .
Intel ® IXP400 Software Access-Layer Component s: Queue Manager (IxQMgr) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 273 T o use livelock prevention, only one queue can be se t as type periodic.
Intel ® IXP400 Software Access-Layer Co mponent s: Queue Man ager (IxQMgr) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 274 Docume nt Numb e r: 252539 , Revision: 007 • Set the callback type for the H SS queue to periodic and th e Eth Rx queue to sporadic usi ng the ixQMgrCallbackT ypeSet() function.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 275 Access-Layer Components: Synchronous Serial Port (IxSspAcc) API 19 This chapter describes the In tel ® IXP400 Software v2.
Intel ® IXP400 Software Access-Layer Co mponent s: Synch ronous Serial Port (IxSspAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 276 Docume nt Numb e r: 252539 , Revision: 007 .
Intel ® IXP400 Software Access-Layer Compon ent s: Synchronous Serial Port (IxSs pAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 277 19.
Intel ® IXP400 Software Access-Layer Co mponent s: Synch ronous Serial Port (IxSspAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 278 Docume nt Numb e r: 252539 , Revision: 007 4. For an overrun: a. Interrup t is triggered due to an overru n of the Rx FIFO.
Intel ® IXP400 Software Access-Layer Compon ent s: Synchronous Serial Port (IxSs pAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 279 Figure 93.
Intel ® IXP400 Software Access-Layer Co mponent s: Synch ronous Serial Port (IxSspAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 280 Docume nt Numb e r: 252539 , Revision: 007 19.4.3 Polling Mode The sequence flow for a client applicat ion usi ng thi s compo nent in polling mode is described below .
Intel ® IXP400 Software Access-Layer Compon ent s: Synchronous Serial Port (IxSs pAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 281 Figure 94.
This p age is intentionally lef t blank. Intel ® IXP400 Software April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 282 Docume nt Numb e r: 252539 , Revision: 007.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 283 Access-Layer Components: T ime Sync (IxT imeSyncAcc) API 20 This chapter describes the In tel ® IXP400 Software v2.0’ s “T ime Sy nc (IxTimeSyncAcc) API” access-layer component.
Intel ® IXP400 Software Access-Layer Co mponent s: T ime Sync (IxT imeSyncAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 284 Docume nt Numb e r: 252539 , Revision: 007 20.
Intel ® IXP400 Software Access-Layer Component s: Time Sync (IxT imeSyncAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 285 synchronization, and in tern al processing delays .
Intel ® IXP400 Software Access-Layer Co mponent s: T ime Sync (IxT imeSyncAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 286 Docume nt Numb e r: 252539 , Revision: 007 Figure 96 shows the lo cation of the IEEE 1588 Hard ware Assist block an d its main interconnects to other components in th e IXP46X network processo rs.
Intel ® IXP400 Software Access-Layer Component s: Time Sync (IxT imeSyncAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 287 The IEEE 1588.
Intel ® IXP400 Software Access-Layer Co mponent s: T ime Sync (IxT imeSyncAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 288 Docume nt Numb e r: 252539 , Revision: 007 VLAN-tagged Ethernet frames include an addi tio nal four bytes prior to the beginn ing of the original Ethernet T ype/Len gth field.
Intel ® IXP400 Software Access-Layer Component s: Time Sync (IxT imeSyncAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 289 • Configure.
Intel ® IXP400 Software Access-Layer Co mponent s: T ime Sync (IxT imeSyncAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 290 Docume nt Numb e r: 252539 , Revision: 007 • Internal errors IxT imeSyncAcc returns IX _SUCCESS when errors are not observed.
Intel ® IXP400 Software Access-Layer Component s: Time Sync (IxT imeSyncAcc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 291 2.
Intel ® IXP400 Software Access-Layer Co mponent s: T ime Sync (IxT imeSyncAcc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 292 Docume nt Numb e r: 252539 , Revision: 007 Figure 99.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 293 Access-Layer Components: UAR T -Access (IxUAR T Acc) API 21 This chapter describes the In tel ® IXP400 Software v2.0’ s “UAR T -Access API” access-layer component.
Intel ® IXP400 Software Access-Layer Co mponent s: UART -Access (IxUART Acc) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 294 Docume nt Numb e r: 252539 , Revision: 007 • UAR T .
Intel ® IXP400 Software Access-Layer Component s: UART -Access (IxUART Acc) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 295 21.
This p age is intentionally lef t blank. Intel ® IXP400 Software April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 296 Docume nt Numb e r: 252539 , Revision: 007.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 297 Access-Layer Components: USB Access (ixUSB) API 22 This chapter describes the In tel ® IXP400 Software v2.0’ s “USB Access API” access-layer component.
Intel ® IXP400 Software Access-Layer Co mponent s: USB Acces s (ixUSB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 298 Docume nt Numb e r: 252539 , Revision: 007 Endpoint 0, by d.
Intel ® IXP400 Software Access-Layer Compon ent s: USB Access (ixUSB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 299 Data packets follow token packets, and are used to transmit data between the host and UDC.
Intel ® IXP400 Software Access-Layer Co mponent s: USB Acces s (ixUSB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 300 Docume nt Numb e r: 252539 , Revision: 007 The eight possible types of bulk transactions base d on data direction, error, and stall conditions are shown in T able 54 .
Intel ® IXP400 Software Access-Layer Compon ent s: USB Access (ixUSB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 301 Control transfers ar.
Intel ® IXP400 Software Access-Layer Co mponent s: USB Acces s (ixUSB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 302 Docume nt Numb e r: 252539 , Revision: 007 22.4 ixUSB API Interfaces The ixUSB API components operate within a ca llback architecture.
Intel ® IXP400 Software Access-Layer Compon ent s: USB Access (ixUSB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 303 • Data transfer ty.
Intel ® IXP400 Software Access-Layer Co mponent s: USB Acces s (ixUSB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 304 Docume nt Numb e r: 252539 , Revision: 007 V ia control endpoin t 0, the user must decode and respo nd to the GET_DESCRIP TOR command.
Intel ® IXP400 Software Access-Layer Compon ent s: USB Access (ixUSB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 305 22.4.1.2 Frame Synchronization The SYNCH_FRAME request is used by isochronou s end poin ts that use implicit-pattern synchronization.
Intel ® IXP400 Software Access-Layer Co mponent s: USB Acces s (ixUSB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 306 Docume nt Numb e r: 252539 , Revision: 007 The second case of a ST ALL han dshake is known as a “protocol stall” and is unique to con tro l pipes.
Intel ® IXP400 Software Access-Layer Compon ent s: USB Access (ixUSB) API Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 307 T able 61.
Intel ® IXP400 Software Access-Layer Co mponent s: USB Acces s (ixUSB) API April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 308 Docume nt Numb e r: 252539 , Revision: 007 22.5 USB Dat a Flow The USB device is a memory mapped device on the pro cessor ’ s peripheral bus.
Intel ® IXP400 Software Codelet s Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 309 Codelets 23 This chapter describes the In tel ® IXP400 Software v2.0 codelets. 23.1 What’ s New The following changes and enhan cements were made to the code lets in software release 2.
Intel ® IXP400 Software Codelet s April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 310 Docume nt Numb e r: 252539 , Revision: 007 23.4 Crypto Access Codelet (IxCryptoAccCodelet) This code.
Intel ® IXP400 Software Codelet s Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 311 — Configuring Port-1 to automati cally transmit frames and Port -2 to receive frames. Frames generated and transmitted i n Port-1 are looped back into Port-2 b y using cross-over cable.
Intel ® IXP400 Software Codelet s April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 312 Docume nt Numb e r: 252539 , Revision: 007 23.10 Performance Profiling Codelet (IxPerfProfAccCodelet) IxPerfProfAccCodelet is a useful utility that dem onstrates how to access performance related data provided by IxPerfProfA cc.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 313 Operating System Abstraction Layer (OSAL) 24 24.1 What’ s New There are no changes or enhancements to this component in software release 2.
Intel ® IXP400 Software Operating System Ab st rac tion La yer (OSA L ) April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 314 Docume nt Numb e r: 252539 , Revision: 007 Figure 105.
Intel ® IXP400 Software Operating System Abst raction La yer (OSAL) Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 315 24.
Intel ® IXP400 Software Operating System Ab st rac tion La yer (OSA L ) April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 316 Docume nt Numb e r: 252539 , Revision: 007 24.4.1 Backward Comp atibility Module The OSAL layer was develo ped during IXP400 softw are v1.
Intel ® IXP400 Software Operating System Abst raction La yer (OSAL) Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 317 configuration header file. The OS AL configurat ion head er file (IxOsalConfig.
Intel ® IXP400 Software Operating System Ab st rac tion La yer (OSA L ) April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 318 Docume nt Numb e r: 252539 , Revision: 007 Figure 106. OSAL Direc tory St ructure os l i n u x (s i m i l a r s u b - d i r s tru c t u re a s v x w o rk s ) i nc l ude I x O s a l .
Intel ® IXP400 Software Operating System Abst raction La yer (OSAL) Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 319 24.6 OSAL Modules and Related Interfaces This section contains a summary of the types, symbols, and public func tions declared by each OSAL module.
Intel ® IXP400 Software Operating System Ab st rac tion La yer (OSA L ) April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 320 Docume nt Numb e r: 252539 , Revision: 007 T able 62.
Intel ® IXP400 Software Operating System Abst raction La yer (OSAL) Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 321 T able 62.
Intel ® IXP400 Software Operating System Ab st rac tion La yer (OSA L ) April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 322 Docume nt Numb e r: 252539 , Revision: 007 24.6.2 Buffer Management Module This module defines a memory buffer structure and functions for creating and managing buffer pools.
Intel ® IXP400 Software Operating System Abst raction La yer (OSAL) Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 323 The OSAL layer also provid.
Intel ® IXP400 Software Operating System Ab st rac tion La yer (OSA L ) April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 324 Docume nt Numb e r: 252539 , Revision: 007 24.
Intel ® IXP400 Software Operating System Abst raction La yer (OSAL) Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 325 • IX_OSAL_IO_ENDIANESS This selects the I/O endianness type re quired by the component.
Intel ® IXP400 Software Operating System Ab st rac tion La yer (OSA L ) April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 326 Docume nt Numb e r: 252539 , Revision: 007 { IX_STATIC_MAP, /*.
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 327 ADSL Driver 25 This chapter describes the ADSL driver for the Intel ®.
Intel ® IXP400 Software ADSL Driver April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 328 Docume nt Numb e r: 252539 , Revision: 007 25.3.1 Controlling STMicroelect ronics* ADSL Modem Chip set Through CTRL-E The STMicroelectronics ADSL chipset CTRL-E interface is me mory-mapped into the processor ’ s expansion bus address space.
Intel ® IXP400 Software ADSL Driver Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 329 Step 1 of Figure 108 is only required if the cl ient appli cation wants to be notifi ed when a line state changes occurs.
Intel ® IXP400 Software ADSL Driver April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 330 Docume nt Numb e r: 252539 , Revision: 007 25.6 Limit ations and Constraint s • The driver only supports the A T U-R mod e of operation. • The driver can operate in single PHY mode only .
Intel ® IXP400 Software Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 331 I 2 C Driver (IxI2cDrv) 26 This chapter describes the I 2 C Driver provided w ith Intel ® IXP400 Software v2.0, which is for use with the Intel ® IXP46X Product Line of Network Processors.
Intel ® IXP400 Software I 2 C Driver (IxI2cDrv) April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 332 Docume nt Numb e r: 252539 , Revision: 007 • Enable/disable the driving of the SCL l.
Intel ® IXP400 Software I 2 C Driver (IxI 2cDrv) Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 333 26.
Intel ® IXP400 Software I 2 C Driver (IxI2cDrv) April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 334 Docume nt Numb e r: 252539 , Revision: 007 Once an arbitration loss error is det ected, the unit will stop transmitti ng.
Intel ® IXP400 Software I 2 C Driver (IxI 2cDrv) Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 335 Slave-Interrupt Mode When the processor is ac.
Intel ® IXP400 Software I 2 C Driver (IxI2cDrv) April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 336 Docume nt Numb e r: 252539 , Revision: 007 26.
Intel ® IXP400 Software I 2 C Driver (IxI 2cDrv) Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 337 Figure 1 1 1.
Intel ® IXP400 Software I 2 C Driver (IxI2cDrv) April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 338 Docume nt Numb e r: 252539 , Revision: 007 Figure 1 12.
Intel ® IXP400 Software I 2 C Driver (IxI 2cDrv) Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 339 26.4.3 I 2 C Using GPIO V ersus Dedicated I 2 C Hardware Some supported operating systems in clude support for emulatin g the I 2 C bus using GPIO lin es on the processor .
This p age is intentionally lef t blank. Intel ® IXP400 Software April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 340 Docume nt Numb e r: 252539 , Revision: 007.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof twar e Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 341 Endianness in Intel ® IXP400 Software 27 27.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof tware April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 342 Docume nt Numb e r: 252539 , Revision: 007 It should also be noted that en dianness only applies when byte and half-word accesses are made to memory .
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof twar e Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 343 Unfortunately , the answer is NO even with help fro m the most sophisticated hardw are.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof tware April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 344 Docume nt Numb e r: 252539 , Revision: 007 Little:0x8 Big:0x0 The foll.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof twar e Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 345 W e always assume that the byte order value will be set to either Big -Endi an or Litt le-Endian in a define value.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof tware April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 346 Docume nt Numb e r: 252539 , Revision: 007 #define htonl(A) (A) #defin.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof twar e Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 347 This chapter will provide an overview of the IXP4XX product line and IX C1100 control plane processors capabilities related to endi nness.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof tware April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 348 Docume nt Numb e r: 252539 , Revision: 007 27.4.1 Supporting Little-Endian Mode The following hardware item s can be config ured by so ftware: • Intel XScale core running un der Little- or Big-Endian mode.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof twar e Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 349 When the Intel XScale core is in Little-Endian Address Cohere nt mode, words written by the Intel XScale core are in the same format when read by the NPE as words.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof tware April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 350 Docume nt Numb e r: 252539 , Revision: 007 27.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof twar e Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 351 MCR p15,0,a1,c1,c0,0 ENDM The application code built to run on the system must be compiled to match the endianness.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof tware April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 352 Docume nt Numb e r: 252539 , Revision: 007 27.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof twar e Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 353 IXP42X product line B-0 st ep.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof tware April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 354 Docume nt Numb e r: 252539 , Revision: 007 When adding support for Little-Endian, there we re two factors taken into account in decidin g where to use Address Coherency and Data Coherency Little-En dian modes.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof twar e Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 355 — Performance Monitoring Unit — Interrupt Controller — GPIO Controller — T imer Block —S S P , I 2 C and IEEE 1588 units on the IXP46X product line.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof tware April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 356 Docume nt Numb e r: 252539 , Revision: 007 27.5.3.2 N PE Downloader — IxNpeDl This component utilizes the NPEs’ Message Handle r and Execution Control re gisters.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof twar e Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 357 27.5.3.4. 1 Dat a Plane The data plane interface for IxEthAcc uses th e IxQMgr component to send/receive messages between the Ethernet access and the Ethernet NPEs .
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof tware April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 358 Docume nt Numb e r: 252539 , Revision: 007 The IP stack typically has an alignm ent restriction on the IP packet.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof twar e Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 359 The code below provi des the read-out formation after the application of a conversion macro.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof tware April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 360 Docume nt Numb e r: 252539 , Revision: 007 Figure 1 19 shows that the .
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof twar e Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 361 • IX_OSAL_MBUF word pointers must be swapped prior to subm ission to the NPE.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof tware April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 362 Docume nt Numb e r: 252539 , Revision: 007 vxworksincludep latformsixp400 Ix OsalOsIxp400CustomizedMappings.
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof twar e Programmer’s Guide IXP400 Soft ware Version 2.0 April 2005 Document Number: 252539 , Revision: 007 363 Control is transferred from the bootrom into VxW o rks once it is downloaded via FTP .
Intel ® IXP400 Software Endianness in Intel ® IXP400 Sof tware April 2005 IXP400 Software Versio n 2.0 Programmer’s Guide 364 Docume nt Numb e r: 252539 , Revision: 007 Enable Instr & Data cache. Enable Branch Target buffer. return A similar implementation was requ ired for execution in the VxW orks bootrom.
Ein wichtiger Punkt beim Kauf des Geräts Intel IXP400 (oder sogar vor seinem Kauf) ist das durchlesen seiner Bedienungsanleitung. Dies sollten wir wegen ein paar einfacher Gründe machen:
Wenn Sie Intel IXP400 noch nicht gekauft haben, ist jetzt ein guter Moment, um sich mit den grundliegenden Daten des Produkts bekannt zu machen. Schauen Sie zuerst die ersten Seiten der Anleitung durch, die Sie oben finden. Dort finden Sie die wichtigsten technischen Daten für Intel IXP400 - auf diese Weise prüfen Sie, ob das Gerät Ihren Wünschen entspricht. Wenn Sie tiefer in die Benutzeranleitung von Intel IXP400 reinschauen, lernen Sie alle zugänglichen Produktfunktionen kennen, sowie erhalten Informationen über die Nutzung. Die Informationen, die Sie über Intel IXP400 erhalten, werden Ihnen bestimmt bei der Kaufentscheidung helfen.
Wenn Sie aber schon Intel IXP400 besitzen, und noch keine Gelegenheit dazu hatten, die Bedienungsanleitung zu lesen, sollten Sie es aufgrund der oben beschriebenen Gründe machen. Sie erfahren dann, ob Sie die zugänglichen Funktionen richtig genutzt haben, aber auch, ob Sie keine Fehler begangen haben, die den Nutzungszeitraum von Intel IXP400 verkürzen könnten.
Jedoch ist die eine der wichtigsten Rollen, die eine Bedienungsanleitung für den Nutzer spielt, die Hilfe bei der Lösung von Problemen mit Intel IXP400. Sie finden dort fast immer Troubleshooting, also die am häufigsten auftauchenden Störungen und Mängel bei Intel IXP400 gemeinsam mit Hinweisen bezüglich der Arten ihrer Lösung. Sogar wenn es Ihnen nicht gelingen sollte das Problem alleine zu bewältigen, die Anleitung zeigt Ihnen die weitere Vorgehensweise – den Kontakt zur Kundenberatung oder dem naheliegenden Service.