-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for XDP stats #20
Comments
XDP stats for mlx5 driver, 4.7 kernel. Example of per-queue XDP stats (from ethtool -S eth0 | grep xdp): Relevant counters of interest to this tool are: {r,t}x0_xdp_tx_full, {r,t}x0_xdp_tx_err are useful too for seeing error conditions |
XDP stats, solarflare sfc driver:
Unfortunately, not per queue for Rx. I will reach out to them about it |
XDP stats for virtio net driver: ethtool -i eth0driver: virtio_net ethtool -S eth0NIC statistics: My VM only has 1 queue hence only queue_0 shown above. |
Loop in @LorenzoBianconi On the kernel side we are planning to make these XDP counters more consistent across driver. |
I'm not sure how to handle this, and I don't have a system with XDP that I can test it with. If every driver really does make its XDP counter names consistent that would help, otherwise I'm going to need a special XDP mode that shows those counters instead of the normal interface counters, along with additional RegExes to match the patterns. |
XDP is the name for running ebpf programs in a driver on packets before the stack sees them. Packets can be redirected to another device, transmitted back out the device they arrived on or allowed to proceed up the stack. XDP stats are typically separate. Given ethq's purpose (showing per queue driver stats) It would be a great extension to support XDP stats. I'll post data for drivers as individual messages
The text was updated successfully, but these errors were encountered: