
Episode 56 · Season 1
Flow Translation
About this episode
This is the third in a series of Open vSwitch tech talks that we are starting to run internally at VMware every week or two. This episode is about flow translation, the process that OVS follows when a packet arrives in the software switch that does not match any already established entry in the OVS datapath cache (the megaflow cache).
The translation process has two goals. First, it figures out what to do with the particular packet being processed Second, it determines what class of packets similar to this packet can be treated the same way. The former determination is generally applied directly to the packet in question, and the latter is used to add a new cache entry (megaflow) to the datapath.
The main source files involved in translation are ofproto-dpif-xlate.c and ofproto-dpif-xlate.h.
In addition to the translation process itself, the talk covers some uses
of relevant tools: ovs-dpctl dump-flows and ovs-appctl
dpctl/dump-flows for viewing datapath cache entries, and
ovs-appctl ofproto/trace for understanding how cache entries
are devised and populated and playing "what-if?" games. These are
documented in the ovs-vswitchd and ovs-dpctl
manpages.
The NSDI 2015 paper The Design and Implementation of Open vSwitch covers in detail how Open vSwitch caches translations.
OVS Orbit is produced by Ben Pfaff. The intro music in this episode is Drive, featuring cdk and DarrylJ, copyright 2013, 2016 by Alex. The bumper music is Yeah Ant featuring Wired Ant and Javolenus, copyright 2013 by Speck. The outro music is Space Bazooka featuring Doxen Zsigmond, copyright 2013 by Kirkoid. All content is licensed under a Creative Commons Attribution 3.0 Unported (CC BY 3.0) license.
More from OVS Orbit
VMware Research High Bits is a podcast coming soon from VMware's research group. This episode is a sneak preview of episode 1, with Lalith Suresh. Lalith is a researcher in the VMware Research Group w…
Bruce Davie and Larry Peterson are the authors of the Systems Approach series of computer networking textbooks. Mark Twain has been called the greatest humorist the United States has produced and the…
Bruce Davie and Larry Peterson talk about their Systems Approach series of books on computer networking. These books began with the textbook Computer Networks: A Systems Approach, published in 1996. A…
Dmitry Yusupov submitted a talk to the Open vSwitch 2020 Fall Conference that we weren't able to fit into the schedule. This podcast, recorded in December 2020, is based on the material that Dmitry pr…
Frederick Kautz and Nikolay Nikolaev are developers on the Network Service Mesh project, which provides additional networking features for Kubernetes above what is available from Kubernetes CNI networ…