Using SRv6 with OVS

OVS (Open vSwitch) 3.2 added support for SRv61, so let’s try using it. To put it simply, you create a port with type=srv6 as shown below. Since it’s implemented using the same framework as existing tunneling protocols like VXLAN and Geneve, you specify both tunnel endpoints (corresponding to SIDs on both sides in SRv6) with options:remote_ip and options:local_ip. In addition to these, SRv6 has a special option options:srv6_segs to set intermediate routers as a Segment List....

March 29, 2024

Background and Usage of Open vSwitch AF_XDP

Recently, I heard that OVS (Open vSwitch) has added support for AF_XDP, so I investigated what background led to this and how to use it. OVS is composed of kernel modules and userspace processes. With this architecture, the following issues became apparent1, and recently the implementation using AF_XDP is being promoted as a replacement. Modifications that require kernel updates or system-wide restarts Influenced by kernel developer policies and implementations Performance lags behind DPDK Too many backports Sometimes loses distribution support All of these seem to be valid reasons to push forward with architectural changes....

December 7, 2021