Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Allow empty DPDK device init config
[vpp.git]
/
vnet
/
vnet
/
devices
/
dpdk
/
init.c
diff --git
a/vnet/vnet/devices/dpdk/init.c
b/vnet/vnet/devices/dpdk/init.c
index
01bd27d
..
e06d6bf
100644
(file)
--- a/
vnet/vnet/devices/dpdk/init.c
+++ b/
vnet/vnet/devices/dpdk/init.c
@@
-906,6
+906,7
@@
dpdk_device_config (dpdk_config_main_t * conf, vlib_pci_addr_t pci_addr,
if (!input)
return 0;
+ unformat_skip_white_space (input);
while (unformat_check_input (input) != UNFORMAT_END_OF_INPUT)
{
if (unformat (input, "num-rx-queues %u", &devconf->num_rx_queues))