lkml.org 
[lkml]   [2004]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.041 / U:0.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site