• Xin Long's avatar
    geneve: update skb dst pmtu on tx path · 52a589d5
    Xin Long authored
    Commit a93bf0ff ("vxlan: update skb dst pmtu on tx path") has fixed
    a performance issue caused by the change of lower dev's mtu for vxlan.
    
    The same thing needs to be done for geneve as well.
    
    Note that geneve cannot adjust it's mtu according to lower dev's mtu
    when creating it. The performance is very low later when netperfing
    over it without fixing the mtu manually. This patch could also avoid
    this issue.
    Signed-off-by: default avatarXin Long <lucien.xin@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    52a589d5
geneve.c 44.6 KB