git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples/ip_frag: fix use of ethdev internal device array
[dpdk.git]
/
examples
/
ip_fragmentation
/
main.c
diff --git
a/examples/ip_fragmentation/main.c
b/examples/ip_fragmentation/main.c
index
ccaf23f
..
1b51bf2
100644
(file)
--- a/
examples/ip_fragmentation/main.c
+++ b/
examples/ip_fragmentation/main.c
@@
-991,7
+991,7
@@
main(int argc, char **argv)
if (rte_lcore_is_enabled(lcore_id) == 0)
continue;
- if (queueid >=
rte_eth_devices[portid].data->
nb_tx_queues)
+ if (queueid >=
dev_info.
nb_tx_queues)
break;
socket = (int) rte_lcore_to_socket_id(lcore_id);