diff options
Diffstat (limited to 'templates/interfaces/ethernet')
-rw-r--r-- | templates/interfaces/ethernet/node.tag/offload-options/scatter-gather/node.def | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.tag/offload-options/scatter-gather/node.def b/templates/interfaces/ethernet/node.tag/offload-options/scatter-gather/node.def new file mode 100644 index 00000000..71ee1142 --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/offload-options/scatter-gather/node.def @@ -0,0 +1,14 @@ +# +# Configuration template for offload options +# + +priority: 319 # Failure barrier only - no ordering constraints + +type: txt +help: Configure scatter-gather option +val_help: on; Enable scatter-gather +val_help: off; Disable scatter-gather + +syntax:expression: $VAR(@) == "on" || $VAR(@) == "off" ; "Must be either 'on' or 'off'" + +update: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(../../@) --offload-option scatter-gather $VAR(@) |