ethdev: update extending stats strings
authorHarry van Haaren <harry.van.haaren@intel.com>
Mon, 2 Nov 2015 10:18:59 +0000 (10:18 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 2 Nov 2015 23:07:15 +0000 (00:07 +0100)
commitb291f3f96db5b135b37ff3d32eab37dc6601fe97
tree53100cb37be2ac1e74118f4bcdd709e6d520c82d
parent15e9ee6982a4822ce395fd597dd500a61ceafa7c
ethdev: update extending stats strings

Update the strings used for presenting stats to adhere
to the scheme previously presented. Updated xstats_get()
function to handle Q information only if xstats() is not
implemented in the PMD, providing the PMD with the needed
flexibility to expose its extended Q stats.

Add extended statistic section to the programmers
guide, poll mode driver section. This section describes
how the strings stats are formatted, and how the client
code can use this to gather information about the stat.

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Maryam Tahhan <maryam.tahhan@intel.com>
doc/guides/prog_guide/poll_mode_drv.rst
doc/guides/rel_notes/release_2_2.rst
lib/librte_ether/rte_ethdev.c