summaryrefslogtreecommitdiff
path: root/lib/netdev.c
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2010-05-14 13:49:43 -0700
committerJesse Gross <jesse@nicira.com>2010-05-18 12:57:25 -0700
commit43694e2a8d950f62781ec6dc613b5dac32de35fd (patch)
tree904018700b4d3b33e1af5029c27ee87de2e572c8 /lib/netdev.c
parent777ece0952d1087e2ac1c3aa33e9dda1fe60add6 (diff)
downloadopenvswitch-43694e2a8d950f62781ec6dc613b5dac32de35fd.tar.gz
netdev: Add 'patch' userspace implementation.
Add a netdev to talk to the 'patch' vport in the kenerl. Since there is currently a 'patch' implementation using the veth driver, this one is temporarily called 'patchnew'.
Diffstat (limited to 'lib/netdev.c')
-rw-r--r--lib/netdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/netdev.c b/lib/netdev.c
index 09c00af3f..c2049bf3c 100644
--- a/lib/netdev.c
+++ b/lib/netdev.c
@@ -46,6 +46,7 @@ static const struct netdev_class *base_netdev_classes[] = {
&netdev_tap_class,
&netdev_gre_class,
&netdev_patch_class,
+ &netdev_patchnew_class,
};
static struct shash netdev_classes = SHASH_INITIALIZER(&netdev_classes);