Santosh Kumar
|
Re: RE: Native io-pkt Ethernet Driver(mpc85xx)
|
Santosh Kumar
09/25/2009 3:08 PM
post38812
|
Re: RE: Native io-pkt Ethernet Driver(mpc85xx)
Thanks Akash for reply. Is there any way to to know the cause and prevent this error.
Here is the below information.
Command line to start io-pkt: The below command is used in preinit script to start devnp-mpc85xx.so($ETHDRIVER)
mount -T io-pkt -o "mac=$MACADDR,deviceindex=3" $ETHDRIVER
mount -T io-pkt -o "mac=$MACADDR,deviceindex=2" $ETHDRIVER
mount -T io-pkt -o "mac=$MACADDR,speed=1000,duplex=1,deviceindex=1" $ETHDRIVER
mount -T io-pkt -o "mac=$MACADDR,speed=100,duplex=1,deviceindex=0" $ETHDRIVER
echo "Enabling Support for QNet"
#mount -T io-pkt /lib/dll/lsm-qnet.so
mount -T io-pkt -o "bind=tsec3,no_slog=1" /lib/dll/lsm-qnet.so
echo "Enabling TIPC"
mount -T io-pkt -o "verbose=0,bufsize=131072" /lib/dll/lsm-tipc.so
echo "bringing up necessary interfaces"
/sbin/ifconfig tsec0 up
/sbin/ifconfig tsec1 up
/sbin/ifconfig tsec2 media 1000T mediaopt fdx
/sbin/ifconfig tsec2 up
/sbin/ifconfig tsec3 media 100baseTX-FDX
/sbin/ifconfig tsec3 up
/sbin/ifconfig tsec0 $IPADDR netmask $NETMASK up
echo "ifconfig tsec0 $IPADDR netmask $NETMASK up"
Packet rate at which you are feeding packets. Also what kind of packets?: Close to 1G on tsec2, packets are intermix of
Multicast and Unicast packets.
BSP detail: QNX BSP for MPC8572, kernel is “procnto-booke-smp-instr”.
SMP or single CPU core : SMP
nicinfo results:
# nicinfo tsec2
tsec2:
MPC85XX TSEC Ethernet Controller
Physical Node ID ........................... 000000 000000
Current Physical Node ID ................... 001FAA 000102
Current Operation Rate ..................... 1000.00 Mb/s full-duplex
Active Interface Type ...................... MII
Active PHY address ....................... 13
Maximum Transmittable data Unit ............ 1500
Maximum Receivable data Unit ............... 1500
Hardware Interrupt ......................... 0x13
Hardware Interrupt ......................... 0x14
Hardware Interrupt ......................... 0x18
Memory Aperture ............................ 0xe0025000 - 0xe0025fff
Promiscuous Mode ........................... Off
Multicast Support .......................... Enabled
Packets Transmitted OK ..................... 23
Bytes Transmitted OK ....................... 2070
Broadcast Packets Transmitted OK ........... 0
Multicast Packets Transmitted OK ........... 23
Memory Allocation Failures on Transmit ..... 0
Packets Received OK ........................ 12
Bytes Received OK .......................... 1080
Broadcast Packets Received OK .............. 0
Multicast Packets Received OK .............. 12
Memory Allocation Failures on Receive ...... 0
Single Collisions on Transmit .............. 0
Multiple Collisions on Transmit ............ 0
Late Collision on Transmit errors .......... 0
Transmits aborted (excessive collisions) ... 0
Transmits aborted (excessive deferrals) .... 0
Transmit Underruns ......................... 0
No Carrier on Transmit ..................... 0
Jabber detected ............................ 0
Receive Alignment errors ................... 0
Received packets with CRC errors ........... 0
Packets Dropped on receive ................. 0
Ethernet Header length field mismatches .... 0
Oversized Packets received ................. 0
Short packets .............................. 0
|
|
|