Intel® IXP400 Software

Buffer Management

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

ix_next

ix_nextpkt

ix_data

ix_len

ix_type

ix_flags

ix_reserved

 

 

 

ix_rsvd

ix_len

M apping from IX_M BUF to NPE Shared

Structure

ixp_next

ixp_len

ixp_pkt_len

 

 

ixp_data

NPE Service Specific Field

NPE Service Specific Field

NPE Service Specific Field

NPE Service Specific Field

NPE Service Specific Field

1st Cache

line of

IXP _BUF

2nd Cache

line of

IXP _BUF

3.5IX_MBUF Structure

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

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

 

0

1

2

 

3

 

 

 

 

 

0

ix_next (IX_OSAL_MBUF_NEXT_BUFFER_IN_PKT_PTR)

 

 

4

ix_nextPacket (IX_OSAL_MBUF_NEXT_PKT_IN_CHAIN_PTR)

 

 

 

8

 

ix_data (IX_OSAL_MBUF_MDATA)

 

 

 

12

 

ix_len (IX_OSAL_MBUF_MLEN)

 

 

 

 

 

 

16

ix_type

ix_flags

 

ix_reserved

 

 

 

 

 

 

April 2005

IXP400 Software Version 2.0

Programmer’s Guide

44

Document Number: 252539, Revision: 007

 

Page 44
Image 44
Intel IXP400 manual Ixmbuf Structure, Internal Ixmbuf Field Format Sheet 1, Ixnext Ixosalmbufnextbufferinpktptr, Ixreserved