Re: [dpdk-dev] [PATCH 2/2] lib: optimize _xstats_by_ids APIs

2017-12-11 Thread Daly, Lee
> Subject: [dpdk-dev] [PATCH 2/2] lib: optimize _xstats_by_ids APIs > > Introduced a check to detect if the stats IDs being requested are all basic > stats IDs. In that case, ensured that only the basic stats would be retrieved. > Previously, both basic stats and xstats were being

[dpdk-dev] [PATCH 2/2] lib: optimize _xstats_by_ids APIs

2017-12-05 Thread Elza Mathew
Introduced a check to detect if the stats IDs being requested are all basic stats IDs. In that case, ensured that only the basic stats would be retrieved. Previously, both basic stats and xstats were being retrieved even if all the IDs were basic stats IDs. Signed-off-by: Elza Mathew --- lib/lib