Novell Home

My Favorites

Close

Please to see your favorites.

ifconfig shows dropped rx packets

This document (7007165) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 2

Situation

ifconfig shows dropped rx packets
After updating to SLES 11 SP2 packets are being dropped
Dropped counter incrementing
rx_dropped counter is incrementing

Customers have reported seeing dropped packets when examining statistics on their network card, bonds, or virtual interfaces. 


Resolution

Working as designed.

Cause

Beginning with kernel 2.6.37, it has been changed the meaning of dropped packet count. Before, dropped packets was most likely due to an error. Now, the rx_dropped counter shows statistics for dropped frames because of:

Softnet backlog full  -- (Measured from /proc/net/softnet_stat)
Bad / Unintended VLAN tags
Unknown / Unregistered protocols
IPv6 frames when the server is not configured for IPv6

If any frames meet those conditions, they are dropped before the protocol stack and the rx_dropped counter is incremented.

Additional Information

Care should be taken to confirm that frames are not being legitimately dropped.  A quick way to test this (WARNING: this test does not work for bonding interfaces) is to force the NIC into promiscuous mode:

host:~# ifconfig <interface> promisc

And then watching the rx_dropped counter.  If it stops incrementing while the NIC is in promiscuous mode; then it is more than likely showing drops because of the reasons listed earlier.  If frames continue to be shown as dropped, investigation should take place to determine root cause.

Many administrators find it useful to perform performance testing on their interfaces to see if the alleged drops are hurting actual performance. Using a tool like iperf can help determine if your interfaces are performing near to their advertised speed.

This effect is seen starting from SLES 11 SP2, as it utilizes a 3.x kernel series. Previous SLES versions do not exhibit it (that are using kernels prior to 2.6.37)

Additional information can be found by researching commit # caf586e5

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7007165
  • Creation Date:17-MAY-12
  • Modified Date:09-OCT-14
    • SUSESUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback