d085232a14
For all drivers that currently implement xstats, the id field in the rte_eth_stats_name structure equals the entry's array index. This patch eliminates the redundant id field as a direct index lookup is faster than a search for the matching id field. Suggested-by: Olivier Matz <olivier.matz@6wind.com> Signed-off-by: Remy Horton <remy.horton@intel.com> |
||
---|---|---|
.. | ||
main.c | ||
Makefile |