]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83aa5a183b06f729646e1c2211c26e5c8f32c34e
tree98d77e5ffb7b6f97cf41441b465fe7c74c57d6a4
parent5888ceaae07b6742fff545fc0fc56117e5763c0b
geneve: update skb dst pmtu on tx path

Commit 6daedd25f623 ("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