app/test: various updates

Signed-off-by: Intel
This commit is contained in:
Intel 2013-09-18 12:00:00 +02:00 committed by Thomas Monjalon
parent 5233e5924a
commit 20309d5040
4 changed files with 6 additions and 2 deletions

View File

@ -55,7 +55,7 @@ def all_sockets(num):
{
"Prefix": "group_1",
"Memory" : "2",
"Memory" : all_sockets(8),
"Tests" :
[
{
@ -282,7 +282,7 @@ def all_sockets(num):
},
{
"Prefix": "group_6",
"Memory" : all_sockets(600),
"Memory" : all_sockets(620),
"Tests" :
[
{

View File

@ -94,6 +94,7 @@ do_recursive_call(void)
if (strcmp(actions[i].env_var, recursive_call) == 0)
return (actions[i].action_fn)();
}
printf("ERROR - missing action to take for %s\n", recursive_call);
return -1;
}
#endif

View File

@ -43,6 +43,8 @@
extern const char *prgname;
#include <cmdline_parse.h>
extern cmdline_parse_ctx_t main_ctx[];
int main(int argc, char **argv);

View File

@ -88,6 +88,7 @@ static struct rte_sched_port_params port_param = {
.name = "port_0",
.socket = 0, /* computed */
.rate = 0, /* computed */
.mtu = 1522,
.frame_overhead = RTE_SCHED_FRAME_OVERHEAD_DEFAULT,
.n_subports_per_port = 1,
.n_pipes_per_subport = 4096,