Skip to content
Snippets Groups Projects
Commit 67a4aeef authored by Felix Fietkau's avatar Felix Fietkau
Browse files

netifd: fix napi process name matching in packet steering script


Fixes CPU usage imbalance on some devices using threaded NAPI

Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 9decfc82
No related branches found
No related tags found
No related merge requests found
......@@ -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 &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment