diff --git a/src/core/drivers/dpdk/dpdk_test.cc b/src/core/drivers/dpdk/dpdk_test.cc index a9036608..0751e002 100644 --- a/src/core/drivers/dpdk/dpdk_test.cc +++ b/src/core/drivers/dpdk/dpdk_test.cc @@ -64,7 +64,7 @@ int main(int argc, char **argv) { testing::InitGoogleTest(&argc, argv); auto kEalOpts = juggler::utils::CmdLineOpts( - {"-c", "0x0", "-n", "6", "--proc-type=auto", "-m", "1024", "--log-level", + {"", "-c", "0x0", "-n", "6", "--proc-type=auto", "-m", "1024", "--log-level", "8", "--vdev=net_null0,copy=1", "--no-pci"}); auto d = juggler::dpdk::Dpdk(); diff --git a/src/core/flow_test.cc b/src/core/flow_test.cc index c45533cd..f2b2cfad 100644 --- a/src/core/flow_test.cc +++ b/src/core/flow_test.cc @@ -514,7 +514,7 @@ int main(int argc, char **argv) { // Initialize DPDK auto kEalOpts = juggler::utils::CmdLineOpts( - {"-c", "0x0", "-n", "6", "--proc-type=auto", "-m", "1024", "--log-level", + {"", "-c", "0x0", "-n", "6", "--proc-type=auto", "-m", "1024", "--log-level", "8", "--vdev=net_null0,copy=1", "--no-pci"}); auto d = juggler::dpdk::Dpdk(); d.InitDpdk(kEalOpts); /* Using default DPDK configurations */ diff --git a/src/core/machnet_engine_test.cc b/src/core/machnet_engine_test.cc index 0239c10d..4b6697d1 100644 --- a/src/core/machnet_engine_test.cc +++ b/src/core/machnet_engine_test.cc @@ -114,7 +114,7 @@ int main(int argc, char **argv) { testing::InitGoogleTest(&argc, argv); auto kEalOpts = juggler::utils::CmdLineOpts( - {"-c", "0x0", "-n", "6", "--proc-type=auto", "-m", "1024", "--log-level", + {"", "-c", "0x0", "-n", "6", "--proc-type=auto", "-m", "1024", "--log-level", "8", "--vdev=net_null0,copy=1", "--no-pci"}); auto d = juggler::dpdk::Dpdk(); diff --git a/src/include/dpdk.h b/src/include/dpdk.h index c09b6e19..aadb58ba 100644 --- a/src/include/dpdk.h +++ b/src/include/dpdk.h @@ -88,7 +88,7 @@ namespace dpdk { // Default EAL init arguments. static auto kDefaultEalOpts = - juggler::utils::CmdLineOpts({"--log-level=eal,8", "--proc-type=auto"}); + juggler::utils::CmdLineOpts({"", "--log-level=eal,8", "--proc-type=auto"}); class Dpdk { public: