[ovs-discuss] VXLAN offload not work on openvswitch 2.6.0 + 3.10.45

张东亚 fortitude.zhang at gmail.com
Tue Oct 25 02:39:20 UTC 2016


Hi List,

We have now testing openvswitch 2.6.0 on kernel 3.10.45, however we noticed
there is performance drop than openvswitch 2.5.0 on the same kernel, which
iperf can only have a 2G bandwidth for a pair of 10G links.

After check the code, it seems on openvswitch 2.5.0, HAVE_METADATA_DST
macro is used to control whether use backported vxlan tunnels, in 3.10.45
kernel which will result HAVE_METADATA_DST not defined, thus VXLAN receive
offload of 3.10.45 kernel is used.

However, on openvswitch 2.6.0, HAVE_METADATA_DST is renamed to
HAVE_USE_UPSTREAM_TUNNEL, and in 3.10.45 kernel this macro is defined,
while HAVE_UDP_OFFLOADS/HAVE_UDP_TUNNEL_SOCK_CFG_GRO_RECEIVE are both not
defined, which make there is not VXLAN receive offload callback registered.

Is this a desired behavior? Or we must try to update our kernel to a new
supported one like 3.18.X.

I have not find a commit that defined this yet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20161025/d541e694/attachment-0002.html>


More information about the discuss mailing list