aboutsummaryrefslogtreecommitdiff
path: root/vswitchd/ovs-brcompatd.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2009-07-30 16:04:45 -0700
committerBen Pfaff <blp@nicira.com>2009-07-30 16:07:14 -0700
commit8b61709d5ec6c4ef58a04fcaefde617ff63fa10d (patch)
tree185f90a2eae6670f3ba93225959e278426503ac1 /vswitchd/ovs-brcompatd.c
parentb1bf7d43b3091536645aa5f5a0ddb0b7d48e1383 (diff)
netdev: Implement an abstract interface to network devices.
This new abstraction layer allows multiple implementations of network devices in a single running process. This will be useful, for example, to support network devices that are simulated entirely in the running process or that communicate with other processes over Unix domain sockets, etc. The reimplemented tap device support in this commit has not been tested.
Diffstat (limited to 'vswitchd/ovs-brcompatd.c')
-rw-r--r--vswitchd/ovs-brcompatd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vswitchd/ovs-brcompatd.c b/vswitchd/ovs-brcompatd.c
index 306de136..70570e92 100644
--- a/vswitchd/ovs-brcompatd.c
+++ b/vswitchd/ovs-brcompatd.c
@@ -38,7 +38,6 @@
#include "coverage.h"
#include "daemon.h"
#include "dirs.h"
-#include "dpif.h"
#include "dynamic-string.h"
#include "fatal-signal.h"
#include "fault.h"
@@ -911,6 +910,7 @@ main(int argc, char *argv[])
for (;;) {
unixctl_server_run(unixctl);
brc_recv_update();
+ netdev_run();
/* If 'prune_timeout' is non-zero, we actively prune from the
* config file any 'bridge.<br_name>.port' entries that are no
@@ -932,6 +932,7 @@ main(int argc, char *argv[])
nl_sock_wait(brc_sock, POLLIN);
unixctl_server_wait(unixctl);
+ netdev_wait();
poll_block();
}