OSDN Git Service

geneve: update skb dst pmtu on tx path
authorXin Long <lucien.xin@gmail.com>
Mon, 25 Dec 2017 06:43:58 +0000 (14:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jan 2018 17:34:59 +0000 (12:34 -0500)
commit52a589d51f1008f62569bf89e95b26221ee76690
tree98d77e5ffb7b6f97cf41441b465fe7c74c57d6a4
parent23263ec86a5f44312d2899323872468752324107
geneve: update skb dst pmtu on tx path

Commit a93bf0ff4490 ("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: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/geneve.c