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
sched: improve doxygen comments
[dpdk.git]
/
examples
/
qos_sched
/
app_thread.c
diff --git
a/examples/qos_sched/app_thread.c
b/examples/qos_sched/app_thread.c
index
a592742
..
e14b275
100644
(file)
--- a/
examples/qos_sched/app_thread.c
+++ b/
examples/qos_sched/app_thread.c
@@
-73,8
+73,11
@@
app_rx_thread(struct thread_conf **confs)
for(i = 0; i < nb_rx; i++) {
get_pkt_sched(rx_mbufs[i],
&subport, &pipe, &traffic_class, &queue, &color);
for(i = 0; i < nb_rx; i++) {
get_pkt_sched(rx_mbufs[i],
&subport, &pipe, &traffic_class, &queue, &color);
- rte_sched_port_pkt_write(rx_mbufs[i], subport, pipe,
- traffic_class, queue, (enum rte_meter_color) color);
+ rte_sched_port_pkt_write(conf->sched_port,
+ rx_mbufs[i],
+ subport, pipe,
+ traffic_class, queue,
+ (enum rte_color) color);
}
if (unlikely(rte_ring_sp_enqueue_bulk(conf->rx_ring,
}
if (unlikely(rte_ring_sp_enqueue_bulk(conf->rx_ring,