Intel® IXP400 Software

Buffer Management

Figure 7. API User Interface to IXP_BUF

IXP_BUF

API USER

API User (e.g. driver)

IX_OSAL_MBUF_XXX macros (data, length …)

IX_ETHACC_NE_XXX service-specific macros (e.g. flags)

IX_MBUF

Data, len …

same fields across all APIs)

Reserved for pool

management and extra fields

ix_ne: NPE shared structure

(service specific)

B-3828

The Figure 8 shows a typical interface between the Intel® IXP400 Software access-layer components and the IXP_BUF fields. The access-layer components adapt to the endianness as defined by the Intel XScale core. The access-layer components can perform reads and write to the IX_MBUF fields as well as the NPE-shared structure. The service-specific fields to be updated in the NPE-shared structure may vary depending upon access-component needs.

Figure 8. Access-Layer Component Interface to IXP_BUF

ACCESS-LAYER components

IX_OSAL_MBUF_XXX

macros

Access-layer components

IX_Component_NE_XXX service-specific macros

IXP_BUF

IX_MBUF

Data, len …

same fields across all APIs)

Reserved for pool

management and extra fields

ix_ne: NPE Shared structure

(service specific)

B-3829

April 2005

IXP400 Software Version 2.0

Programmer’s Guide

40

Document Number: 252539, Revision: 007

 

Page 40
Image 40
Intel IXP400 manual API User Interface to Ixpbuf