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/l2fwd-event: add option to configure port pairs
[dpdk.git]
/
examples
/
ip_pipeline
/
cli.c
diff --git
a/examples/ip_pipeline/cli.c
b/examples/ip_pipeline/cli.c
index
c720306
..
3e23f4e
100644
(file)
--- a/
examples/ip_pipeline/cli.c
+++ b/
examples/ip_pipeline/cli.c
@@
-414,23
+414,23
@@
cmd_tmgr_subport_profile(char **tokens,
return;
}
return;
}
- if (parser_read_uint
32
(&p.tb_rate, tokens[3]) != 0) {
+ if (parser_read_uint
64
(&p.tb_rate, tokens[3]) != 0) {
snprintf(out, out_size, MSG_ARG_INVALID, "tb_rate");
return;
}
snprintf(out, out_size, MSG_ARG_INVALID, "tb_rate");
return;
}
- if (parser_read_uint
32
(&p.tb_size, tokens[4]) != 0) {
+ if (parser_read_uint
64
(&p.tb_size, tokens[4]) != 0) {
snprintf(out, out_size, MSG_ARG_INVALID, "tb_size");
return;
}
for (i = 0; i < RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE; i++)
snprintf(out, out_size, MSG_ARG_INVALID, "tb_size");
return;
}
for (i = 0; i < RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE; i++)
- if (parser_read_uint
32
(&p.tc_rate[i], tokens[5 + i]) != 0) {
+ if (parser_read_uint
64
(&p.tc_rate[i], tokens[5 + i]) != 0) {
snprintf(out, out_size, MSG_ARG_INVALID, "tc_rate");
return;
}
snprintf(out, out_size, MSG_ARG_INVALID, "tc_rate");
return;
}
- if (parser_read_uint
32
(&p.tc_period, tokens[18]) != 0) {
+ if (parser_read_uint
64
(&p.tc_period, tokens[18]) != 0) {
snprintf(out, out_size, MSG_ARG_INVALID, "tc_period");
return;
}
snprintf(out, out_size, MSG_ARG_INVALID, "tc_period");
return;
}
@@
-487,23
+487,23
@@
cmd_tmgr_pipe_profile(char **tokens,
return;
}
return;
}
- if (parser_read_uint
32
(&p.tb_rate, tokens[3]) != 0) {
+ if (parser_read_uint
64
(&p.tb_rate, tokens[3]) != 0) {
snprintf(out, out_size, MSG_ARG_INVALID, "tb_rate");
return;
}
snprintf(out, out_size, MSG_ARG_INVALID, "tb_rate");
return;
}
- if (parser_read_uint
32
(&p.tb_size, tokens[4]) != 0) {
+ if (parser_read_uint
64
(&p.tb_size, tokens[4]) != 0) {
snprintf(out, out_size, MSG_ARG_INVALID, "tb_size");
return;
}
for (i = 0; i < RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE; i++)
snprintf(out, out_size, MSG_ARG_INVALID, "tb_size");
return;
}
for (i = 0; i < RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE; i++)
- if (parser_read_uint
32
(&p.tc_rate[i], tokens[5 + i]) != 0) {
+ if (parser_read_uint
64
(&p.tc_rate[i], tokens[5 + i]) != 0) {
snprintf(out, out_size, MSG_ARG_INVALID, "tc_rate");
return;
}
snprintf(out, out_size, MSG_ARG_INVALID, "tc_rate");
return;
}
- if (parser_read_uint
32
(&p.tc_period, tokens[18]) != 0) {
+ if (parser_read_uint
64
(&p.tc_period, tokens[18]) != 0) {
snprintf(out, out_size, MSG_ARG_INVALID, "tc_period");
return;
}
snprintf(out, out_size, MSG_ARG_INVALID, "tc_period");
return;
}
@@
-556,7
+556,7
@@
cmd_tmgr(char **tokens,
return;
}
return;
}
- if (parser_read_uint
32
(&p.rate, tokens[3]) != 0) {
+ if (parser_read_uint
64
(&p.rate, tokens[3]) != 0) {
snprintf(out, out_size, MSG_ARG_INVALID, "rate");
return;
}
snprintf(out, out_size, MSG_ARG_INVALID, "rate");
return;
}