Age | Commit message (Collapse) | Author |
|
All the other templates and scripts related to interfaces
are in vyatta-cfg-system
|
|
Bug 5014
|
|
|
|
|
|
This change implements a mechanism for setting the IRQ affinity of NIC
interrupts in a way that is optimally balanced. The affinity settings
are static, and are set up at configuration time. I've added "auto"
as a new legal value to the "interfaces ethernet ethX smp_affinity"
configuration parameter. If this value is set, then the system
attempts to perform automatic IRQ affinity assignment.
At this time, automatic IRQ affinity is supported only for multiqueue
NICs that use the igb or bnx2 drivers. Even with these two,
differences in the organization of queues and their naming convention
necessitate some NIC-specific code. The assignment strategy attempts
to assign all queues of all NICs that share the same queue number to
the same CPU. This has been shown to be optimal for IP forwarding
workloads in 2.6.31 kernels.
Setting the value to "auto" for NICs that use other drivers will be a
no-op.
|
|
Also restore "--valid-addr" flag to vyatta-interfaces.pl since it is used outside
this package.
|
|
Changed the the set-time and commit-time check of ethernet interface address
values. These checks need to prevent configuring both DHCP and static
IPv4 addresses on the same interfac. The previous checks were comparing
against the running configuration tree, not the proposed config tree. Now
the set-time check is purely a syntax check, and the commit-time check
only checks for both DHCP and static IPv4 addresses in the proposed config.
The system now allows DHCP and static IPv6 addresses to be configured on
the same interface.
|
|
Bug 4918
|
|
Bug 4419
|
|
Bug 4672
By using ip command instead of sysfs, avoid subshell quoting issues.
(cherry picked from commit 1755bfab4b22cc822f96fb78a1e05392d5f07398)
|
|
Bug 4501
This solves the problem that 'show interfaces ethernet' also
shows pseudo ethernet (peth0) device. The problem was that peth0
matched the regex since it was missing start/end.
(cherry picked from commit 71fb6be3ac3d7ce3c7f08b1408c8c9a6b9fc0422)
|
|
Move the speed/duplex setting into script where we can handle errors
better, and avoid setting speed/duplex twice.
(cherry picked from commit 330470f1f060f579434eb89469f4ed021c95449d)
|
|
More bug 3952 fixes
(cherry picked from commit 2619f6c8fa01ab3ade6dfe6edb6815825c89cfd0)
|
|
Bugs 3952 and 3797
Make the ethtool settings management smarter.
Don't try and set a device that has been unplugged (causing commit fail).
Don't force autonegotiation if device is already in that mode.
(cherry picked from commit ad4f2a101203e71076a3e23a0a2a093326927d45)
|
|
update tag on loopback is incorrect since address is multi-value node.
(cherry picked from commit cd119fead01c35eae68b3383a2ab12fb9f2d4767)
|
|
If real device is disabled, then can't bring up VIF.
|
|
Other half of fix for Bug 4369
|
|
Since some interfaces have link-detect and others do not, move
the template from the generic generated templates to the specific
configuration.
|
|
Bug 4249
|
|
Use new kernel field to store description.
|
|
|
|
Need to do show=all
|
|
Need 'dev' in argument to ip link
|
|
If interface with VIF is disabled, then it would fail on next boot
when VIF's were created.
|
|
Print message and fail commit if interface is disabled.
|
|
them differently.
|
|
Eliminate checks in template in favor of doing it in one place
in vyatta-interfaces.pl code.
|
|
|
|
Syntax is not the same for 'ip link delete'
|
|
Bug 3779
Simpler to use 'ip link' command.
|
|
Unify all code that does name -> interface attribute translation
into one place. No need to pass interface path to scripts, and handle
addresses correctly in DHCP code. Use 'undef' consitently for false
in perl code.
|
|
|
|
New script to wrap direct calls to vtysh
|
|
interface has been disabled in CLI
|
|
|
|
Add allowed completion and check type of device.
|
|
Only allow devices name ethXXX and check that device exists
Bugfix 3495
|
|
|
|
|
|
|
|
No longer need the perl wrapper for vtysh. The options and logging
have been folded into it.
|
|
|
|
dont't create unnecessary temporary files, use already created file in active config to retrieve mtu value
|
|
Specified Value
- only request for dhcp-option interface-mtu from a dhcp-server for an ethernet interface using dhcp to get IP
- do not request for interface-mtu for other interfaces that use dhcp i.e. ethernet vifs and bridges
- request for interface-mtu from dhcp-server for ethernet interfaces, only if ethernet mtu not set in CLI
|
|
Handle case of user changing SMP affinity configuration of an interface.
|
|
Bonding leaves file in /sys/class/net/bonding. Avoid any
problems this causes.
|
|
|
|
|
|
|
|
|