Skip to content

Commit

Permalink
netifd: fix napi process name matching in packet steering script
Browse files Browse the repository at this point in the history
Fixes CPU usage imbalance on some devices using threaded NAPI

Signed-off-by: Felix Fietkau <[email protected]>
  • Loading branch information
nbd168 committed Jan 15, 2025
1 parent 9decfc8 commit 67a4aee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 67a4aee

Please sign in to comment.