tunneling: Add df_default and df_inherit tunnel options.
authorAndrew Evans <aevans@nicira.com>
Sat, 30 Apr 2011 00:05:58 +0000 (17:05 -0700)
committerAndrew Evans <aevans@nicira.com>
Sat, 30 Apr 2011 00:05:58 +0000 (17:05 -0700)
commit66409d1bccbdddd8833f74876a1e7ef250034d4e
treefeab460d2ddfb860ae80312a14fcaf6e47a39787
parent8522b383863cbc8f0d530fc7d44c0643dcac541d
tunneling: Add df_default and df_inherit tunnel options.

Split existing pmtud tunnel option's functionality into three. Existing pmtud
option still exists, but now governs only whether datapath sends ICMP frag
needed messages. New df_inherit option controls whether DF bit is copied from
packet inner header to outer tunnel header. New df_default option controls
whether DF bit is set if inner packet isn't IP or if df_inherit is disabled.

Suggested-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: Andrew Evans <aevans@nicira.com>
Feature #5456.
datapath/tunnel.c
include/openvswitch/tunnel.h
lib/netdev-vport.c
vswitchd/vswitch.xml