X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vswitchd%2Fovs-vswitchd.c;h=990e58f0a08aa2099ff6efc0cd27aad82436f8d7;hb=1c030aa5704db05b41671133df32e2a1b64aa60d;hp=bb087bd9c7245ed2300c07b0c9f2e543bda08991;hpb=10a89ef04df5669c5cdd02f786150a7ab8454e01;p=sliver-openvswitch.git diff --git a/vswitchd/ovs-vswitchd.c b/vswitchd/ovs-vswitchd.c index bb087bd9c..990e58f0a 100644 --- a/vswitchd/ovs-vswitchd.c +++ b/vswitchd/ovs-vswitchd.c @@ -42,7 +42,6 @@ #include "simap.h" #include "stream-ssl.h" #include "stream.h" -#include "stress.h" #include "svec.h" #include "timeval.h" #include "unixctl.h" @@ -50,7 +49,6 @@ #include "vconn.h" #include "vlog.h" #include "lib/vswitch-idl.h" -#include "worker.h" VLOG_DEFINE_THIS_MODULE(vswitchd); @@ -75,7 +73,6 @@ main(int argc, char *argv[]) proctitle_init(argc, argv); set_program_name(argv[0]); - stress_init_command(); remote = parse_options(argc, argv, &unixctl_path); signal(SIGPIPE, SIG_IGN); sighup = signal_register(SIGHUP); @@ -94,8 +91,6 @@ main(int argc, char *argv[]) #endif } - worker_start(); - retval = unixctl_server_create(unixctl_path, &unixctl); if (retval) { exit(EXIT_FAILURE); @@ -107,7 +102,6 @@ main(int argc, char *argv[]) exiting = false; while (!exiting) { - worker_run(); if (signal_poll(sighup)) { vlog_reopen_log_file(); } @@ -120,13 +114,10 @@ main(int argc, char *argv[]) memory_report(&usage); simap_destroy(&usage); } - bridge_run_fast(); bridge_run(); - bridge_run_fast(); unixctl_server_run(unixctl); netdev_run(); - worker_wait(); signal_wait(sighup); memory_wait(); bridge_wait();