Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
894d0a6
)
virtio: fix cli parsing for tx-queue-size
72/39872/4
author
Vratko Polak
<
[email protected]
>
Tue, 14 Nov 2023 18:41:11 +0000
(19:41 +0100)
committer
Mohammed HAWARI
<
[email protected]
>
Tue, 21 Nov 2023 12:45:39 +0000
(12:45 +0000)
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 <
[email protected]
>
src/vnet/devices/virtio/cli.c
patch
|
blob
|
history
diff --git
a/src/vnet/devices/virtio/cli.c
b/src/vnet/devices/virtio/cli.c
index
cadfd67
..
45642d6
100644
(file)
--- 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;