Re: [dpdk-dev] [PATCH 2/2] ethdev: move queue id check in generic layer

2017-03-09 Thread Thomas Monjalon
2017-02-17 16:25, Olivier Matz: > The check of queue_id is done in all drivers implementing > rte_eth_rx_queue_count(). Factorize this check in the generic function. > > Note that the nfp driver was doing the check differently, which could > induce crashes if the queue index was too big. > > Sign

[dpdk-dev] [PATCH 2/2] ethdev: move queue id check in generic layer

2017-02-17 Thread Olivier Matz
The check of queue_id is done in all drivers implementing rte_eth_rx_queue_count(). Factorize this check in the generic function. Note that the nfp driver was doing the check differently, which could induce crashes if the queue index was too big. Signed-off-by: Olivier Matz --- This commit was