Messages in this thread | | | Date | Fri, 9 Apr 2004 02:01:25 +0200 (CEST) | From | Henrik Nordstrom <> | Subject | Re: Can i use dev_queue_xmit() |
| |
On Fri, 9 Apr 2004, K.Anantha Kiran wrote:
> This module is working fine for less rate of traffic(< 200 Mbps) , But > same module is dropping some of the packets(4 lakhs out of 10 lakhs) for > highier speeds(> 200Mbps).Function *dev_queue_xmit()* in the kernel > module, is returning NET_XMIT_DROP for dropped packets.This is due to > the function call *q->enqueue(skb,q)* in dev_queue_xmit().What might be > the reason for that return value.
The transmit queue dicipline for the device is full and throwing away packets.
You need to give the device some breathing time to catch up on processing the already queued packets, or make sure the device transmit queues are sufficiently large for the packet bursts you are generating.
Regards Henrik
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |