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: add mtu parameter
[dpdk.git]
/
examples
/
qos_sched
/
init.c
diff --git
a/examples/qos_sched/init.c
b/examples/qos_sched/init.c
index
1654c73
..
2647033
100755
(executable)
--- a/
examples/qos_sched/init.c
+++ b/
examples/qos_sched/init.c
@@
-206,6
+206,7
@@
struct rte_sched_port_params port_params = {
.name = "port_0",
.socket = 0, /* computed */
.rate = 0, /* computed */
+ .mtu = 6 + 6 + 4 + 4 + 2 + 1500,
.frame_overhead = RTE_SCHED_FRAME_OVERHEAD_DEFAULT,
.n_subports_per_port = 1,
.n_pipes_per_subport = 4096,