if (j > 0)
vlib_cli_output (vm, "---------------");
- if (w->lcore_id > -1)
+ if (w->cpu_id > -1)
vlib_cli_output (vm, "Thread %d %s (lcore %u)", j, w->name,
- w->lcore_id);
+ w->cpu_id);
else
vlib_cli_output (vm, "Thread %d %s", j, w->name);
}
}
}
else
- s = format (s, "\n defult only");
+ s = format (s, "\n default only");
vlib_cli_output (vm, " node function variants:%v\n", s);
vec_reset_length (s);
if (!unformat (line_input, "%s", &variant))
{
- err = clib_error_return (0, "please specify node function variant");
+ err = clib_error_return (0, "please specify node functional variant");
goto done;
}
if (n->node_fn_registrations == 0)
{
- err = clib_error_return (0, "node doesn't have fnuctiona varinats");
+ err = clib_error_return (0, "node doesn't have functional variants");
goto done;
}
fnr = fnr->next_registration;
}
- err = clib_error_return (0, "node fnuction variant '%s' not found", variant);
+ err = clib_error_return (0, "node functional variant '%s' not found", variant);
done:
vec_free (variant);