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

Joe Stringer joe at ovn.org
Tue Oct 25 16:43:19 UTC 2016


On 24 October 2016 at 19:39, 张东亚 <fortitude.zhang at gmail.com> wrote:
> 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.

You need to upgrade, kernel 3.10 didn't have this support.



More information about the discuss mailing list