[ixp1200] Using PETH drivers with L3fwd16 on ENP-2505

Arthur Berkovitch arthur at comgates.co.il
Wed Dec 11 13:34:41 EST 2002


pay attention to descriptor format: a PETH driver is built with RFC1812 uses
a newer descriptor format but the reference design use the older packet
descriptor. You need to remove -DRFC1812 from the peth/Makefile to set the
PETH to older descriptor format.
...
MODFLAGS = -D__KERNEL__ -DMODULE -DIOSTYLE=HARDWARE -DLINUX -DOS=UNIX \
           -D__linux__ -DSPECTACLE_ISLAND -DRFC1812
...

-----Original Message-----
From: Chong Poh Kit [mailto:thesoothsayer at pd.jaring.my]
Sent: Wednesday, December 11, 2002 10:52 AM
To: ixp1200 at CS.Princeton.EDU
Subject: [ixp1200] Using PETH drivers with L3fwd16 on ENP-2505


Hi all,

I was wondering if anyone could tell me how to get the ENP-2505 to forward
packets by using the peth driver and hardware debugging on the workbench and
not through the MicroACE framework.

After inserting the ue.o, octmac.o, giga_drv.o modules and running rs_udebug
and rtmapp, I started a hardware debug session using the L3fwd16 project.
I then loaded the peth driver and initialised the peth devices similar to
the example in the "load" file.

However, when I try to ping a computer connected to the ENP-2505 ethernet
port, I get this message:
Bad descriptor 0, dropping outgoing packet
pethFreeDescriptor: Bad descriptor 0

I've tried defining RFC1812 in the code and also in build>settings for the
project but the same problem occurs.

Any help or pointers would be greatly appreciated.

Thanks.

Regards,

P.K. Chong
Multimedia University, Malaysia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.cs.princeton.edu/mailman/private/ixp1200/attachments/20021211/eee9113d/attachment.htm


More information about the ixp1200 mailing list