diff options
-rwxr-xr-x | scripts/vyatta-interfaces.pl | 2 | ||||
-rw-r--r-- | templates/interfaces/ethernet/node.tag/offload/udp-fragmentation-offload/node.def (renamed from templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def) | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/scripts/vyatta-interfaces.pl b/scripts/vyatta-interfaces.pl index 9271e871..b602dda6 100755 --- a/scripts/vyatta-interfaces.pl +++ b/scripts/vyatta-interfaces.pl @@ -600,7 +600,7 @@ sub set_offload_setting { my %ethtool_opts = ( 'generic-receive-offload' => 'gro', 'generic-segmentation-offload' => 'gso', 'tcp-segmentation-offload' => 'tso', - 'udp-segmentation-offload' => 'ufo', + 'udp-fragmentation-offload' => 'ufo', ); if (defined($nvalue) && $nvalue ne $ovalue) { diff --git a/templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def b/templates/interfaces/ethernet/node.tag/offload/udp-fragmentation-offload/node.def index 8c263af9..796c791d 100644 --- a/templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def +++ b/templates/interfaces/ethernet/node.tag/offload/udp-fragmentation-offload/node.def @@ -5,12 +5,12 @@ priority: 319 # Failure barrier only - no ordering constraints type: txt -help: Configure udp-segmentation-offload option -val_help: on; Enable udp-segmentation-offload -val_help: off; Disable udp-segmentation-offload +help: Configure udp-fragmentation-offload option +val_help: on; Enable udp-fragmentation-offload +val_help: off; Disable udp-fragmentation-offload syntax:expression: $VAR(@) == "on" || $VAR(@) == "off" ; "Must be either 'on' or 'off'" -update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) --offload-settings udp-segmentation-offload $VAR(@) +update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) --offload-settings udp-fragmentation-offload $VAR(@) |