[ixp1200] transmitted packets lose data

Johnson, Erik J erik.j.johnson at intel.com
Fri Nov 19 14:24:27 EST 2004


You might check out the errata listed at:

http://intel.com/intelpress/ixp1200/errata.htm 

Specifically, Chapter 9, Pages 167, 169, and 170.
The transmit code supplied in Chapter 9 does not properly handle packets
larger than 64 bytes. You must make two corrections.

Lines 169 and 170 should read:

port_state.current_data_ptr = 
   (void*)((unsigned int)(port_state.current_data_ptr) + (64 /
sizeof(long long)));

instead of:

port_state.current_data_ptr = 
   (void*)((unsigned int)(port_state.current_data_ptr) + 64);

This correction accounts for the quad-word addressing of SDRAM on the
IXP1200.


Add the following line after line 167:

mpacket->eop = 0;

This addition ensures the per-mpacket state maintained by the fill
threads gets properly initialized for each new packet. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
Erik J. Johnson 
Intel Research & Development 
erik.j.johnson at intel.com 
NOT SPEAKING FOR INTEL 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-----Original Message-----
From: ixp1200-bounces at lists.cs.princeton.edu
[mailto:ixp1200-bounces at lists.cs.princeton.edu] On Behalf Of Shweta Rao
Sent: Friday, November 19, 2004 10:33 AM
To: IXP1200 Developer's List
Subject: [ixp1200] transmitted packets lose data

Hi,

in chapter 9 i increased the packet size to 1500 and  also enabled the
logging. while receiving the packets are intact in the log file as well
as sdram but while transmitting the log files show the packets sent are
very small with loss of data ie instead of 1500 bytes ,around
64 bytes or little more.Please, can anyone explain why this is
happening.

Thanks,
shweta
_______________________________________________
ixp1200 mailing list
ixp1200 at lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/ixp1200


More information about the ixp1200 mailing list