Re: Can i use dev_queue_xmit()

From: Henrik Nordstrom
Date: Thu Apr 08 2004 - 19:02:18 EST


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-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html