KVM: How to get virtio_net NIC statistics to diagnose the rx_dropped counter

Solution In Progress - Updated -

Issue

  • ip -s link or netstat -i show that the rx_dropped counter is increasing.

$ ip -s link

3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    .
    RX: bytes  packets  errors  dropped overrun mcast   
    4339384    60007    0       35      0       0      
  • ethtool -S ethX fails for virtio_net NICs:
# ethtool -i eth0
driver: virtio_net
version: 1.0.0
firmware-version: 
bus-info: 0000:00:08.0
supports-statistics: no
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

# ethtool -S eth0
no stats available

Environment

  • Red Hat Enterprise Linux
  • KVM
  • virtio_net

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content