Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tunnel csum option configurable and default to false #4250

Merged
merged 1 commit into from
Oct 13, 2022

Commits on Sep 29, 2022

  1. Make tunnel csum option configurable and default to false

    For Linux kernel before Mar 2021, UDP checksum must be present to
    trigger GRO on the receiver for better performance of Geneve and VXLAN
    tunnels. The issue has been fixed in Linux kernel [1], thus computing
    UDP checksum is no longer necessary.
    
    This patch exposes a configuration parameter TunnelCsum which
    determines whether to compute UDP encapsulation header (Geneve or
    VXLAN) checksums on outgoing packets and makes it default to false. It
    should only be set to true when Nodes run an unpatched Linux kernel and
    poor transfer performance is observed.
    
    [1] torvalds/linux@89e5c58
    
    Signed-off-by: Quan Tian <[email protected]>
    tnqn committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    0f8891b View commit details
    Browse the repository at this point in the history