tx/rx bytes counters and some more stats as a libnl public API

Ido Barkan ibarkan at redhat.com
Tue Jan 20 22:53:19 PST 2015


Hi guys,

Is it possible to add some more nic stats as a rtnl_link_get_STAT API?

We need it to report to report current NIC health and bandwidth in ovirt/vdsm.

Specifically we use rx_bytes, tx_bytes, rx_dropped, tx_dropped, rx_errors, tx_errors
and we have to read /sys/class/net/*/statistics/* in a cumbersome way.

Thanks,
Ido



More information about the libnl mailing list