projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dpif: Add new functions dp_run() and dp_wait().
[openvswitch]
/
vswitchd
/
ovs-vswitchd.c
diff --git
a/vswitchd/ovs-vswitchd.c
b/vswitchd/ovs-vswitchd.c
index e95ee0aae57a3703abaa599ab31b344a4c5fc3d1..4352f5f743af394d3324af99c6a619e2b44c9fd9 100644
(file)
--- a/
vswitchd/ovs-vswitchd.c
+++ b/
vswitchd/ovs-vswitchd.c
@@
-28,6
+28,7
@@
#include "command-line.h"
#include "compiler.h"
#include "daemon.h"
#include "command-line.h"
#include "compiler.h"
#include "daemon.h"
+#include "dpif.h"
#include "fault.h"
#include "leak-checker.h"
#include "mgmt.h"
#include "fault.h"
#include "leak-checker.h"
#include "mgmt.h"
@@
-100,6
+101,7
@@
main(int argc, char *argv[])
need_reconfigure = true;
}
unixctl_server_run(unixctl);
need_reconfigure = true;
}
unixctl_server_run(unixctl);
+ dp_run();
if (need_reconfigure) {
poll_immediate_wake();
if (need_reconfigure) {
poll_immediate_wake();
@@
-108,6
+110,7
@@
main(int argc, char *argv[])
mgmt_wait();
bridge_wait();
unixctl_server_wait(unixctl);
mgmt_wait();
bridge_wait();
unixctl_server_wait(unixctl);
+ dp_wait();
poll_block();
}
poll_block();
}