ethdev: document xstats API assumption
authorFerruh Yigit <ferruh.yigit@intel.com>
Thu, 28 Jun 2018 14:16:02 +0000 (15:16 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 4 Jul 2018 15:37:46 +0000 (17:37 +0200)
commit0109a56e73c8a21abd45ac99f0112fbf59c75fb3
tree7ecd492b6343b8f22eaac1fd2b433ac24e150bc6
parentdb8d6790590de1fc7f3a4b0a6c958bd07fccef19
ethdev: document xstats API assumption

Documents the assumption that 'xstats[i].id == i' and
key=xstats_names[i].name, value=xstats[i].value

xstats[i].id is still used for xstats _by_id() APIs.

This patch reverts some part of the commit 6d52d1d4afb4 ("ethdev:
clarify extended statistics documentation")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: David Marchand <david.marchand@6wind.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
lib/librte_ethdev/rte_ethdev.h