diff --git a/neutron/conf/plugins/ml2/drivers/ovn/ovn_conf.py b/neutron/conf/plugins/ml2/drivers/ovn/ovn_conf.py index d55a494a709..52a22909d46 100644 --- a/neutron/conf/plugins/ml2/drivers/ovn/ovn_conf.py +++ b/neutron/conf/plugins/ml2/drivers/ovn/ovn_conf.py @@ -175,12 +175,12 @@ ovn_opts = [ "option to be unset globally.\n" "See the ovn-nb(5) man page for available options.")), cfg.BoolOpt('ovn_emit_need_to_frag', - default=False, + default=True, help=_('Configure OVN to emit "need to frag" packets in ' 'case of MTU mismatches.\n' - 'Before enabling this option make sure that ' - 'it is supported by the host kernel (version >= 5.2) ' - 'or by checking the output of the following command:\n' + 'You may have to disable this option if you are ' + 'running an old host kernel (version < 5.2). You may ' + 'check the output of the following command:\n' 'ovs-appctl -t ovs-vswitchd dpif/show-dp-features ' 'br-int | grep "Check pkt length action".')), cfg.BoolOpt('disable_ovn_dhcp_for_baremetal_ports', diff --git a/releasenotes/notes/enable-ovn_emit_need_to_frag-by-default-9ba0169e70a55173.yaml b/releasenotes/notes/enable-ovn_emit_need_to_frag-by-default-9ba0169e70a55173.yaml new file mode 100644 index 00000000000..96fbc7aafc1 --- /dev/null +++ b/releasenotes/notes/enable-ovn_emit_need_to_frag-by-default-9ba0169e70a55173.yaml @@ -0,0 +1,7 @@ +--- +upgrade: + - | + The ``ovn_emit_need_to_frag`` option for OVN is now enabled by default. + This may result in performance issues on older kernels (older than 5.2). If + you are still using an old kernel, you may consider setting it to + ``False``.