Small fix to the packet coalescing cli.
Type: fix
Signed-off-by: Ray Kinsella <mdr@ashroe.eu>
Change-Id: I1edbf6e43937aa0345185f06437095e0558dba31
{
if (unformat (line_input, "interface pg%u", &if_id))
;
{
if (unformat (line_input, "interface pg%u", &if_id))
;
+ else if (unformat (line_input, "coalesce-enabled"))
+ coalesce_enabled = 1;
else if (unformat (line_input, "gso-enabled"))
{
gso_enabled = 1;
else if (unformat (line_input, "gso-enabled"))
{
gso_enabled = 1;
error = clib_error_create ("gso enabled but gso size missing");
goto done;
}
error = clib_error_create ("gso enabled but gso size missing");
goto done;
}
- if (unformat (line_input, "coalesce-enabled"))
- coalesce_enabled = 1;