git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
0ef850c
)
ethdev: move a queue id check to generic layer
author
Olivier Matz
<olivier.matz@6wind.com>
Fri, 17 Feb 2017 15:25:33 +0000
(16:25 +0100)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Thu, 9 Mar 2017 18:29:51 +0000
(19:29 +0100)
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 <olivier.matz@6wind.com>
No differences found