Hi

I programmed a ethernet driver for BCM4713 driver on MIPS platform. The driver 
receives packets properly. 

I have programmed the transmission part too. It transmits packet using DMA and 
when the DMA transfer is complete, it gives me transmit interrupt too. I don't 
get any error interrupts; all error interrupts on this card are enabled. 

The problem is on the receiving side it does not seem to receive anything. 

The way I tested it - 

1. I pinged from a remote machine. My driver received an ARP request. I filled 
up the response and sent it back. When transmission is done I got "Transmit 
interrupt" (no error). But on the remote machine, typing 'arp -a' I get an 
entry for my driver's machine with all <incomplete> written in MAC address 
field. 

2. I also tested the other way. I sent a custom built arp packet to the remote 
machine. After completion of transmittion I got "Transmit interrupt" (again no 
error). But I don't receive any ARP reply and there is no entry in receiver's 
arp table for this either. 

Why does the receiver not receiving any packet even though I don't get any 
transmission error in my driver? 

I am not calculating CRC in software and assuming the NIC card will calculate 
CRC. Is it possible that the CRC value is wrong or the NIC card actually does 
not calculate CRC on this card (the card is bcm 4713 on Cisco Lynksys router) 
and I have to calculate it in software?

Thanks,
Meraj



       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.

Reply via email to