[ixp1200] IXA SDK 2.0 PETH

Charles Chiou cchiou at viosoft.com
Wed May 22 17:52:09 EDT 2002


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




More information about the ixp1200 mailing list