Intel® IXP400 Software
Buffer Management
April 2005 IXP400 Software Version 2.0 Programmer’s Guide

44 Document Number: 252539, Revision: 007

Figure 13. Internal Mapping of IX_MBUF to the Shared NPE Structure

3.5 IX_MBUF Structure

Tabl e 1 and Table 2 present IX_MBUF structure format and details.

ix_next
ix_nextpkt
ix_data
ix_len
ix_rsvd
ix_len
ix_reserved
ix_type ix_flags
ixp_next
ixp_data
NPE Service Specific Field
ixp_len ixp_pkt_len

1st Cache

line of

IXP_BUF

NPE Service Specific Field
NPE Service Specific Field
NPE Service Specific Field
NPE Service Specific Field
Mapping from IX_MBUF to NPE Shared
Structure

2nd Cache

line of

IXP_BUF

Table 1. Internal IX_MBUF Field Format (Sheet 1 of 2)

0123
0ix_next (IX_OSAL_MBUF_NEXT_BUFFER_IN_PKT_PTR)
4ix_nextPacket (IX_OSAL_MBUF_NEXT_PKT_IN_CHAIN_PTR)
8ix_data (IX_OSAL_MBUF_MDATA)
12 ix_len (IX_OSAL_MBUF_MLEN)
16 ix_type ix_flags ix_reserved