Age | Commit message (Collapse) | Author |
|
Out of an abundance of caution, we don't want to introduce a default
value for a parameter that previously had none without more extensive
testing, as it would affect all systems. We will introduce the default
value in the next release.
|
|
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.
(cherry picked from commit 565f1d0d9bfe9f6b4174c322f3f6bb78f52b453e)
|
|
Also restore "--valid-addr" flag to vyatta-interfaces.pl since it is used outside
this package.
(cherry picked from commit d32ceb43ab64530c6eca81ec83fe4b374dd510d0)
|
|
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.
(cherry picked from commit 84fb2f920765c6d02f35ef1654dc0f8c2bef648c)
|
|
Bug 4918
|
|
Bug 4672
By using ip command instead of sysfs, avoid subshell quoting issues.
|
|
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.
|
|
Move the speed/duplex setting into script where we can handle errors
better, and avoid setting speed/duplex twice.
|
|
More bug 3952 fixes
|
|
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.
|
|
update tag on loopback is incorrect since address is multi-value node.
|
|
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.
|
|
|
|
|
|
|
|
|
|
- help strings standardized in vyatta-cfg
|
|
- help strings standardized in vyatta-cfg
|
|
- tab gives dhcp if interface hasn't been configured before. handle "<*>" allowed values.
|
|
- tab gives dhcp if interface hasn't been configured before
|