i40e Counters
The i40e driver provides a long list of counters for interface debug and monitoring through the ethtool -S ethX command. It can be helpful to watch the output while a workload is running and/or compare the counter values before and after a workload run.
- To get a full dump of i40e counters: ethtool -S ethX
- To watch just non-zero counters: watch -d (ethtool -S ethX) | egrep -v :\ 0 | column
Some things to look for:
- rx_dropped means the CPU is not servicing buffers fast enough.
- port.rx_dropped means something is not fast enough in the slot/memory/system.