diff options
author | Jason Hendry <jhendry@mintel.com> | 2014-10-29 16:53:09 +0000 |
---|---|---|
committer | Jason Hendry <jhendry@mintel.com> | 2014-10-29 16:53:09 +0000 |
commit | 5aa57a127af803905e2174a449f8584068fad2ec (patch) | |
tree | b99cde1d44facc097271b2c58ebf7ce561ba26ff /templates/interfaces | |
parent | fe7820e84c720b14591c569e93e6963b58f71820 (diff) | |
download | vyatta-cfg-system-5aa57a127af803905e2174a449f8584068fad2ec.tar.gz vyatta-cfg-system-5aa57a127af803905e2174a449f8584068fad2ec.zip |
Making offload setting changes change on a single option
Diffstat (limited to 'templates/interfaces')
4 files changed, 4 insertions, 21 deletions
diff --git a/templates/interfaces/ethernet/node.tag/offload/generic-receive-offload/node.def b/templates/interfaces/ethernet/node.tag/offload/generic-receive-offload/node.def index 411565ab..4970f2de 100644 --- a/templates/interfaces/ethernet/node.tag/offload/generic-receive-offload/node.def +++ b/templates/interfaces/ethernet/node.tag/offload/generic-receive-offload/node.def @@ -12,10 +12,6 @@ val_help: off; Disable generic-receive-offload syntax:expression: $VAR(@) == "on" || $VAR(@) == "off" ; "$type must be either 'on' or 'off'" -update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) \ - --offload-settings $VAR(../tcp-segmentation-offload/@) \ - $VAR(../udp-segmentation-offload/@) \ - $VAR(../generic-segmentation-offload/@) \ - $VAR(@) +update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) --offload-settings generic-receive-offload $VAR(@) diff --git a/templates/interfaces/ethernet/node.tag/offload/generic-segmentation-offload/node.def b/templates/interfaces/ethernet/node.tag/offload/generic-segmentation-offload/node.def index 91b1ecf9..727d91ff 100644 --- a/templates/interfaces/ethernet/node.tag/offload/generic-segmentation-offload/node.def +++ b/templates/interfaces/ethernet/node.tag/offload/generic-segmentation-offload/node.def @@ -12,10 +12,6 @@ val_help: off; Disable generic-segmentation-offload syntax:expression: $VAR(@) == "on" || $VAR(@) == "off" ; "$type must be either 'on' or 'off'" -update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) \ - --offload-settings $VAR(../tcp-segmentation-offload/@) \ - $VAR(../udp-segmentation-offload/@) \ - $VAR(@) \ - $VAR(../generic-receive-offload/@) +update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) --offload-settings generic-segmentation-offload $VAR(@) diff --git a/templates/interfaces/ethernet/node.tag/offload/tcp-segmentation-offload/node.def b/templates/interfaces/ethernet/node.tag/offload/tcp-segmentation-offload/node.def index 641c2c8b..4046139c 100644 --- a/templates/interfaces/ethernet/node.tag/offload/tcp-segmentation-offload/node.def +++ b/templates/interfaces/ethernet/node.tag/offload/tcp-segmentation-offload/node.def @@ -12,10 +12,5 @@ val_help: off; Disable tcp-segmentation-offload syntax:expression: $VAR(@) == "on" || $VAR(@) == "off" ; "$type must be either 'on' or 'off'" -update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) \ - --offload-settings $VAR(@) \ - $VAR(../udp-segmentation-offload/@) \ - $VAR(../generic-segmentation-offload/@) \ - $VAR(../generic-receive-offload/@) - +update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) --offload-settings tcp-segmentation-offload $VAR(@) diff --git a/templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def b/templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def index d96b4be5..86a7abe1 100644 --- a/templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def +++ b/templates/interfaces/ethernet/node.tag/offload/udp-segmentation-offload/node.def @@ -12,10 +12,6 @@ val_help: off; Disable udp-segmentation-offload syntax:expression: $VAR(@) == "on" || $VAR(@) == "off" ; "$type must be either 'on' or 'off'" -update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) \ - --offload-settings $VAR(../tcp-segmentation-offload/@) \ - $VAR(@) \ - $VAR(../generic-segmentation-offload/@) \ - $VAR(../generic-receive-offload/@) +update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) --offload-settings udp-segmentation-offload $VAR(@) |