aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/pg/cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/pg/cli.c b/src/vnet/pg/cli.c
index 3ef7a959f20..9da0f8d9981 100644
--- a/src/vnet/pg/cli.c
+++ b/src/vnet/pg/cli.c
@@ -673,6 +673,8 @@ create_pg_if_cmd_fn (vlib_main_t * vm,
{
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;
@@ -683,8 +685,6 @@ create_pg_if_cmd_fn (vlib_main_t * vm,
error = clib_error_create ("gso enabled but gso size missing");
goto done;
}
- if (unformat (line_input, "coalesce-enabled"))
- coalesce_enabled = 1;
}
else
{