Re: [dpdk-dev] [PATCH] lib/librte_ethdev: Error checking for stats mapping

2018-07-10 Thread Andrew Rybchenko
On 10.07.2018 18:26, Kiran Kumar wrote: With current implementation, we are not checking for queue_id range and stat_idx range in stats mapping function. This patch will add check for queue_id and stat_idx range. Fixes: 5de201df892 ("ethdev: add stats per queue") Signed-off-by: Kiran Kumar ---

[dpdk-dev] [PATCH] lib/librte_ethdev: Error checking for stats mapping

2018-07-10 Thread Kiran Kumar
With current implementation, we are not checking for queue_id range and stat_idx range in stats mapping function. This patch will add check for queue_id and stat_idx range. Fixes: 5de201df892 ("ethdev: add stats per queue") Signed-off-by: Kiran Kumar --- lib/librte_ethdev/rte_ethdev.c | 10