|
Hi linux net.
This is regarding the "packet" interface of linux
2.0.36.
When recieving any packet, the function net_bh() is invoked
everytime ethernet receives a packet. It then calls the protocol handler for
that particular type: ip_rcv() for IP, packet_rcv() for sock_packet
packets.
The problem is:
1) Ive used the packet interface to do very minimal processing
on recieved packets, then Q them up.
2) One 66 Mhz machine sits in a while(1) doing a send()
and another 300 Mhz machine sits in a while (1) doing a recieve ().
3) After about 1000 packets, the packet handler
(packet_rcv) is not being called for about 1 to 3 packets, then again it resumes
normally.
Both ifconfig and /proc/dev tell me that no. of packets
dropped by ethernet is 0.
Whats happening? Remeber, the receiver is a fast
machine - 300 Mhz, and the network is 10 Mbps. Is there some bandwidth
limitation?
Thanks,
Akshay
|
