diff options
author | Bob Gilligan <gilligan@sydney.vyatta.com> | 2007-12-12 10:19:53 -0800 |
---|---|---|
committer | Bob Gilligan <gilligan@sydney.vyatta.com> | 2007-12-12 10:19:53 -0800 |
commit | 30d540abfcac1c3ebbb067a606034e2a854ee1a4 (patch) | |
tree | 932f15b110fd3d3174cf2b2a3d08a607299313db /templates | |
parent | 04a54264cfc1041eb9ae238ccafab7f0e4be4a75 (diff) | |
download | vyatta-cfg-30d540abfcac1c3ebbb067a606034e2a854ee1a4.tar.gz vyatta-cfg-30d540abfcac1c3ebbb067a606034e2a854ee1a4.zip |
Bugfix: 2189
Add config node to configure NIC interrupt CPU affinity on SMPs.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/interfaces/ethernet/node.tag/smp_affinity/node.def | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.tag/smp_affinity/node.def b/templates/interfaces/ethernet/node.tag/smp_affinity/node.def new file mode 100644 index 0000000..b24be8c --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/smp_affinity/node.def @@ -0,0 +1,6 @@ +multi: +type: txt +help: "Set CPU interrupt affinity mask for this interface" +syntax: exec "/opt/vyatta/sbin/vyatta-irqaffin check $(../@) $(@)" +create: "sudo /opt/vyatta/sbin/vyatta-irqaffin set $(../@) $(@)"; "Error setting CPU affinity mask $(@) on interface $(../@)" +delete: "sudo /opt/vyatta/sbin/vyatta-irqaffin reset (../@)"; "Error deleting CPU affinity mask on interface $(../@)" |