diff options
author | Vratko Polak <vrpolak@cisco.com> | 2023-11-14 19:41:11 +0100 |
---|---|---|
committer | Mohammed HAWARI <momohawari@gmail.com> | 2023-11-21 12:45:39 +0000 |
commit | 23b6a9ebeb244ed13d55ba3ae0ba011dd956f14e (patch) | |
tree | b00c29cc1b7415ab2c2b3b073612863269680f45 /src | |
parent | 894d0a6762caefa50a4cb4391eaa9ae78bd67676 (diff) |
virtio: fix cli parsing for tx-queue-size
The previous change made CSIT virtio tests fail,
but those tests are not part of trending.
Ticket: VPP-2088
Type: fix
Fixes: a181eaa59bb2ff2784376918e95bbf92e5340db1
Change-Id: If0439a030c051894e07007da9cf0a2e4dc1434c3
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/devices/virtio/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/devices/virtio/cli.c b/src/vnet/devices/virtio/cli.c index cadfd67df41..45642d6cff6 100644 --- a/src/vnet/devices/virtio/cli.c +++ b/src/vnet/devices/virtio/cli.c @@ -44,7 +44,7 @@ virtio_pci_create_command_fn (vlib_main_t * vm, unformat_input_t * input, ; else if (unformat (line_input, "feature-mask 0x%llx", &feature_mask)) args.features = feature_mask; - if (unformat (line_input, "tx-queue-size %u", &txq_size)) + else if (unformat (line_input, "tx-queue-size %u", &txq_size)) args.tx_queue_size = txq_size; else if (unformat (line_input, "gso-enabled")) args.gso_enabled = 1; |