Skip to content

Commit

Permalink
scripts/perftune.py: aRFS should be disabled by default in non-MQ mode
Browse files Browse the repository at this point in the history
Commit 6613676 introduced a regression
by enabling ntuples by default for a configuration when the applicaiton CPUs
and IRQ cpus are not the same.

Let's fix that.
  • Loading branch information
vladzcloudius authored and avikivity committed Jul 4, 2024
1 parent a57b448 commit 4390d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/perftune.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ def __setup_rfs(self, iface):
op = "Enable"
value = 'on'

if (self.args.enable_arfs is None and self.irqs_cpu_mask == self.cpu_mask) or self.args.enable_arfs is False:
if (self.args.enable_arfs is None and self.irqs_cpu_mask != self.cpu_mask) or self.args.enable_arfs is False:
op = "Disable"
value = 'off'

Expand Down

0 comments on commit 4390d31

Please sign in to comment.