Re: [dpdk-dev] [PATCH v2] ethdev: check queue stats mapping input arguments

2018-07-13 Thread Thomas Monjalon
11/07/2018 10:41, 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

[dpdk-dev] [PATCH v2] ethdev: check queue stats mapping input arguments

2018-07-11 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 Acked-by: Andrew Rybchenko --- v2 changes: