netifd: fix napi process name matching in packet steering script
Fixes CPU usage imbalance on some devices using threaded NAPI Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
9decfc82dc
commit
67a4aeef6c
1 changed files with 1 additions and 1 deletions
|
@ -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 &&
|
||||
|
|
Loading…
Reference in a new issue