mbox series

[net-next,0/4] geneve: verify user specified MTU or adjust with a lower device

Message ID 1524141752-25789-1-git-send-email-alexey.kodanev@oracle.com
Headers show
Series geneve: verify user specified MTU or adjust with a lower device | expand

Message

Alexey Kodanev April 19, 2018, 12:42 p.m. UTC
The first two patches don't introduce any functional changes and
contain minor cleanups for code readability.

The last one adds a new function geneve_link_config() similar to the
other tunnels. The function will be used on a new link creation or
when 'remote' parameter is changed. It adjusts a user specified MTU
or, if it finds a lower device, tunes the tunnel MTU using it.

Alexey Kodanev (4):
  geneve: remove white-space before '#if IS_ENABLED(CONFIG_IPV6)'
  geneve: cleanup hard coded value for Ethernet header length
  geneve: check MTU for a minimum in geneve_change_mtu()
  geneve: configure MTU based on a lower device

 drivers/net/geneve.c | 72 ++++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 61 insertions(+), 11 deletions(-)

Comments

David Miller April 20, 2018, 3:19 p.m. UTC | #1
From: Alexey Kodanev <alexey.kodanev@oracle.com>
Date: Thu, 19 Apr 2018 15:42:28 +0300

> The first two patches don't introduce any functional changes and
> contain minor cleanups for code readability.
> 
> The last one adds a new function geneve_link_config() similar to the
> other tunnels. The function will be used on a new link creation or
> when 'remote' parameter is changed. It adjusts a user specified MTU
> or, if it finds a lower device, tunes the tunnel MTU using it.

Ok, series applied, thanks.