[dpdk-dev] [PATCH] ethdev: expose link status and speed using xstats

Van Haaren, Harry harry.van.haaren at intel.com
Wed Jan 20 16:58:00 CET 2016


> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> 2016-01-20 10:03, Kyle Larose:
> > We already have the rte_eth_link_get function. Why not let users
> > continue to use that? It's well defined, it is simple, and it is
> > consistent.
> 
> +1


Ok, no problem. I'll mark the link-status patch rejected in Patchwork.


I've just sent the Keepalive patchset, patch #3 is of interest regarding this discussion:
http://dpdk.org/dev/patchwork/patch/10003/

It adds a function to the API for collecting xstats, meaning it doesn't pollute the rte_eth_xstats_get() output. I'm interested to hear the communities view of this approach.


Regards, -Harry


More information about the dev mailing list