aboutsummaryrefslogtreecommitdiff
path: root/package/network/config/netifd/files/etc/init.d/packet_steering
Commit message (Collapse)AuthorAge
* netifd: packet_steering: fix shell error on unset steering_flows optionFelix Fietkau2024-04-27
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* netifd: fix bogus warnings in packet_steering init scriptFelix Fietkau2024-04-27
| | | | | | Avoids warnings if options are unset Signed-off-by: Felix Fietkau <nbd@nbd.name>
* netifd: add flow steering mode to the packet steering scriptFelix Fietkau2024-04-26
| | | | | | | This allows directing processing of locally received packets to the CPUs of the tasks receiving them Signed-off-by: Felix Fietkau <nbd@nbd.name>
* netifd: rewrite packet steering scriptFelix Fietkau2024-04-14
| | | | | | | | | | | The new script uses a different strategy compared to the previous one. Instead of trying to split flows by hash and spread them to all CPUs, use RPS to redirect packets to a single core only. Try to spread NAPI thread and RPS target CPUs across available CPUs and try to ensure that the NAPI thread is on a different CPU than the RPS target. This significantly reduces cycles wasted on the scheduler. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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>