Skip to content

Instantly share code, notes, and snippets.

@dcode
Created December 28, 2015 14:19
Show Gist options
  • Select an option

  • Save dcode/b835e5ba396c9bc917e4 to your computer and use it in GitHub Desktop.

Select an option

Save dcode/b835e5ba396c9bc917e4 to your computer and use it in GitHub Desktop.
Troubleshoot capture interfaces
# Check interface w/ ethtool. Anything not [fixed] should be off
ethtool -k ens1f1
# Check interface errors - previously we had rx_long_length_errors
# which is indicative of too small of an MTU
ethtool -S ens1f1 | grep -i error
# Reset counters to zero to make it easier to assess problems
# Validate driver
ethtool -i ens1f1
# Remove and reinstall driver; bring interface up
modprobe -r ixgbe; modprobe ixgbe; ifup ens1f1
# Check pfring for packet loss counts; should be zero
cat /proc/net/pf_ring/*ens1f1* | grep -i pkt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment