Re: [PATCH net-next 7/8] net/mlx5e: XDP TX forwarding support
flat view
From: Jesper Dangaard Brouer <hidden>
Date: 2016-09-20 20:47:54
On Tue, 20 Sep 2016 20:59:39 +0200 Jesper Dangaard Brouer [off-list ref] wrote:
On Tue, 20 Sep 2016 10:39:20 -0700 Eric Dumazet [off-list ref] wrote:
[...]
quoted
Many existing supervision infrastructures collect device snmp counters, and run as unprivileged programs.A supervision infrastructures is a valid use-case. It again indicate that such XDP stats need to structured, not just a random driver specific ethtool counter, to make it easy for such collection daemons.quoted
tracepoints might not fit the need here, compared to a mere tx_ring->tx_drops++I do see your point. I really liked the tracepoint idea, but now I'm uncertain again...
I've document the need for Troubleshooting and Monitoring, so we don't forget about it. See: Commit: https://github.com/netoptimizer/prototype-kernel/commit/3925249089ae4 Online doc: https://prototype-kernel.readthedocs.io/en/latest/networking/XDP/implementation/userspace_api.html#troubleshooting-and-monitoring -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat Author of http://www.iptv-analyzer.org LinkedIn: http://www.linkedin.com/in/brouer