aboutsummaryrefslogtreecommitdiff
path: root/package/network/config/netifd/files/etc/hotplug.d
Commit message (Collapse)AuthorAge
* netifd: refactor packet steering initRafał Miłecki2023-02-15
| | | | | | | | 1. Move setup code to independent script file 2. Add init.d script to allow automatic updates 3. Support platform specific /usr/libexec/platform/packet-steering.sh Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* netifd: disable receive packet steering for DSA slave devicesFelix Fietkau2020-06-10
| | | | | | | It is already handled on the master device. Doing it twice reduces performance Signed-off-by: Felix Fietkau <nbd@nbd.name>
* netifd: replace backticks by $(...)Adrian Schmutzler2020-05-13
| | | | | | This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* netifd: rename 20-smp-tune to 20-smp-packet-steeringAlan Swanson2020-03-03
| | | | | | | Rename the script to be more obvious that this is for packet steering only. Signed-off-by: Alan Swanson <reiver@improbability.net>
* netifd: change RPS/XPS handling to all CPUs and disable by defaultAlan Swanson2020-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current implementation is significantly lowering lantiq performace [1][2] by using RPS with non-irq CPUs and XPS with alternating CPUs. The previous netifd implementation (by default but could be configured) simply used all CPUs and this patch essentially reverts to this behaviour. The only document suggesting using non-interrupt CPUs is Red Hat [3] where if the network interrupt rate is extremely high excluding the CPU that handles network interrupts *may* also improve performance. The original packet steering patches [4] advise that optimal settings for the CPU mask seems to depend on architectures and cache hierarcy so one size does not fit all. It also advises that the overhead in processing for a lightly loaded server can cause performance degradation. Ideally, proper IRQ balancing is a better option with the irqbalance daemon or manually. The kernel does not enable packet steering by default, so also disable in OpenWRT by default. (Though mvebu with its hardware scheduling issues [5] might want to enable packet steering by default.) Change undocumented "default_ps" parameter to clearer "packet_steering" parameter. The old parameter was only ever set in target/linux/mediatek/base-files/etc/uci-defaults/99-net-ps and matched the default. [1] https://forum.openwrt.org/t/18-06-4-speed-fix-for-bt-homehub-5a [2] https://openwrt.ebilan.co.uk/viewtopic.php?f=7&t=1105 [3] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/performance_tuning_guide/network-rps [4] https://marc.info/?l=linux-netdev&m=125792239522685&w=2 [5] https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=2e1f6f1682d3974d8ea52310e460f1bbe470390f Fixes: #1852 Fixes: #2573 Signed-off-by: Alan Swanson <reiver@improbability.net>
* netifd: drop conflicting 'device' interface propertyIvan Shapovalov2018-06-01
| | | | | | | | | | Do not set device runtime property on interfaces in the hotplug handler and in fixup_interfaces(). This property conflicts with device option in several proto handlers (mainly QMI and other WWAN/3G protos) and does not seem to be used anywhere. Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
* netifd: update to the latest version, rewrite RPS/XPS handlingFelix Fietkau2018-02-28
| | | | | | | | Remove RPS/XPS support from netifd core, move the logic to a hotplug script that uses a different policy which provides better performance and more fairness across flows Signed-off-by: Felix Fietkau <nbd@nbd.name>
* netifd: remove connect_time from /var/state, it is unusedFelix Fietkau2013-11-10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38704
* Remove deprecated ip6slaac option * use proto=dhcpv6 with reqprefix=no insteadSteven Barth2013-04-09
| | | | SVN-Revision: 36280
* netifd: remove IPv6 forwarding-sysctl workaroundSteven Barth2013-01-29
| | | | SVN-Revision: 35369
* netifd: IPv6 sysctl, restart IPv6 in static mode to send RSSteven Barth2013-01-28
| | | | SVN-Revision: 35347
* netifd: add SLAAC ipv6 value for static-protoSteven Barth2013-01-28
| | | | SVN-Revision: 35346
* netifd: empty hotplug handler removedSteven Barth2012-12-03
| | | | SVN-Revision: 34465
* Remove old IPv6 sysctl-config (deprecated)Steven Barth2012-11-29
| | | | SVN-Revision: 34418
* packages: sort network related packages into package/network/Felix Fietkau2012-10-10
SVN-Revision: 33688