From c99ab12cbb9252806db55f7a79e5d84b41df3525 Mon Sep 17 00:00:00 2001 From: Ray Kinsella Date: Fri, 12 Mar 2021 14:29:48 +0000 Subject: pg: fix packet coalescing cli Small fix to the packet coalescing cli. Type: fix Signed-off-by: Ray Kinsella Change-Id: I1edbf6e43937aa0345185f06437095e0558dba31 --- src/vnet/pg/cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vnet/pg') 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 { -- cgit 1.2.3-korg