summaryrefslogtreecommitdiff
path: root/lib/netdev-vport.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2012-12-14 19:14:54 -0800
committerEthan Jackson <ethan@nicira.com>2013-01-28 19:09:58 -0800
commitb9ad7294a5b4faf886a5022c5ec53b500f93cf3f (patch)
tree8aa598361697bd3d3e7598f95f8340513478b7d2 /lib/netdev-vport.h
parent7d1a8e7a7b69b79745c4a8b7de47c2fef5233303 (diff)
downloadopenvswitch-b9ad7294a5b4faf886a5022c5ec53b500f93cf3f.tar.gz
lib: Switch to flow based tunneling.
With this patch, ovs-vswitchd uses flow based tunneling exclusively. I.E. each kind of tunnel shares a single tunnel backer in the datapath. Tunnel headers are set by userspace using the ipv4_tunnel datapath action. And, the configuration of individual tunnels is now a userspace responsibility, so netdev-vport no longer marshals and unmarshals Netlink attributes for tunnel configuration, instead only storing the configuration internally. There are still some significant pieces of work to do, but the basic building blocks are there to begin testing. Signed-off-by: Ethan Jackson <ethan@nicira.com> Co-authored-by: Jesse Gross <jesse@nicira.com> Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'lib/netdev-vport.h')
-rw-r--r--lib/netdev-vport.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/netdev-vport.h b/lib/netdev-vport.h
index 8c81d7a92..fd918df61 100644
--- a/lib/netdev-vport.h
+++ b/lib/netdev-vport.h
@@ -26,20 +26,17 @@ struct netdev_stats;
void netdev_vport_register(void);
-const struct ofpbuf *netdev_vport_get_options(const struct netdev *);
-
enum ovs_vport_type netdev_vport_get_vport_type(const struct netdev *);
-const char *netdev_vport_get_netdev_type(const struct dpif_linux_vport *);
bool netdev_vport_is_patch(const struct netdev *);
int netdev_vport_get_stats(const struct netdev *, struct netdev_stats *);
const char *netdev_vport_patch_peer(const struct netdev *netdev);
-void netdev_vport_patch_inc_rx(const struct netdev *,
- const struct dpif_flow_stats *);
-void netdev_vport_patch_inc_tx(const struct netdev *,
- const struct dpif_flow_stats *);
+void netdev_vport_inc_rx(const struct netdev *,
+ const struct dpif_flow_stats *);
+void netdev_vport_inc_tx(const struct netdev *,
+ const struct dpif_flow_stats *);
const char *netdev_vport_get_dpif_port(const struct netdev *);