Question on device's statistics updation

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

 



Hi,
    I was wondering why is that the network device's drop statistics
(/proc/net/dev) doesn't consider the drops from device queue.   What I
mean is,  if enqueing the packet [q->enqueue called in dev_queue_xmit( )
] results in NET_XMIT_DROP or NET_XMIT_CN or NET_XMIT_POLICED, we should
be incrementing the device drop statistics.   Otherwise, it looks like
there will be an inconsistency of tcp packets sent (seen from netstat
-s) to the data from the adapter (Tx-OK and TX-DRP from netstat -i ).
Let me know if I am wrong.

Thanks
Prashanth


-
: 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