hi,
Well I have tried this way and it worked.I feel
you should define #define RFC1812 in project_config.h
file in the L3FWD16 project.
Theres one more step you have to follow
i.e you have to run the route table manager
rtmapp.Before running rtmapp modify the file
rtmapp.cpp to forward all packets to core port 18.
I think this should solve your problem
Ravi
--- Charles Chiou
Ravi,
Thanks, I realized that there was a project file called "L3fwd16.dwo rfc1812" that was not visible to the work bench! I build the microcodes with RFC1812 defined using the new project. Unfortunately, I am still getting the same old result...
Charles
On Fri, 24 May 2002, ravi modgekar wrote:
Hi, Initially even I faced this problem...but I resolved it.Just define RF1812 in one of the microcode files and your problem will be solved. Ravi Modgekar --- Charles Chiou
wrote: Hi,
This is not a VERA question per se, I apologize... However, I wonder if anyone has successfully used the pseudo-ethernet driver (peth.o) that comes with the IXA SDK 2.0 and run it on the C0 board with linux kernel 2.3.99? I followed the instructions and did the following:
$ insmod ue.o $ insmod octmac.o $ insmod giga_drv.o $ rs_udebug
then used the workbech to start a hardware debug session to upload the microcode (in the L3fwd16 project) to the target, and start the microengines.
$ load (and this installed the peth.o module and configured the net devices peth0 - peth7 with IP addresses 1.2.x.5)
I then connected port 0 of the slow ports to a workstation's network card with IP address 1.2.1.1 and tried to ping it from the SA linux shell. This is what I got:
$ ping 1.2.1.1
peth_start_xmit: new descriptor = a4 peth_start_xmit: pData = c1b15000 peth_start_xmit: len = 42, descFlags = 2901 peth_start_xmit: queue = 300, headTail = ffffffff peth_start_xmit: tail = ffff peth_start_xmit: new headTail = ffff00a4 peth_start_xmit: queueCount = -1 peth_start_xmit called peth_start_xmit: new descriptor = a0 peth_start_xmit: pData = c1b14800 peth_start_xmit: len = 42, descFlags = 2901 peth_start_xmit: queue = 300, headTail = ffffffff peth_start_xmit: tail = ffff peth_start_xmit: new headTail = ffff00a0 peth_start_xmit: queueCount = -1 peth_start_xmit called peth_start_xmit: new descriptor = 9c peth_start_xmit: pData = c1b14000 peth_start_xmit: len = 42, descFlags = 2901 peth_start_xmit: queue = 300, headTail = ffffffff peth_start_xmit: tail = ffff peth_start_xmit: new headTail = ffff0094 peth_start_xmit: queueCount = -1 peth_start_xmit called peth_start_xmit: new descriptor = 90 peth_start_xmit: pData = c1b12800 peth_start_xmit: len = 42, descFlags = 2901 peth_start_xmit: queue = 300, headTail = ffffffff peth_start_xmit: tail = ffff peth_start_xmit: new headTail = ffff0090 peth_start_xmit: queueCount = -1
...
peth_start_xmit called peth_start_xmit: new descriptor = 0 Bad descriptor 0, dropping outgoing packet pethFreeDescriptor: descriptor = 0 pethFreeDescriptor: Bad descriptor 0
Any suggestions is appreciated!
Thanks,
Charles
__________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com
__________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com