netifd: fix napi process name matching in packet steering script
Some checks failed
Build all core packages / Build all core packages for selected target (push) Has been cancelled

Fixes CPU usage imbalance on some devices using threaded NAPI

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2025-01-15 21:46:53 +01:00
parent 9decfc82dc
commit 67a4aeef6c

View File

@ -87,7 +87,7 @@ function set_netdev_cpu(dev, cpu) {
function task_device_match(name, device)
{
let napi_match = match(name, /napi\/([^-+])-\d+/);
let napi_match = match(name, /napi\/([^-]*)-\d+/);
if (!napi_match)
napi_match = match(name, /mt76-tx (phy\d+)/);
if (napi_match &&