Re: Can i use dev_queue_xmit()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux