mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
If we're doing RSS then ensure the TCP timer selection uses the multi-CPU
callwheel setup, rather than just dumping all the timers on swi0.
This commit is contained in:
parent
c445c3c7f6
commit
8f7e75cbbd
1 changed files with 4 additions and 0 deletions
|
|
@ -127,7 +127,11 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, rexmit_drop_options, CTLFLAG_RW,
|
|||
&tcp_rexmit_drop_options, 0,
|
||||
"Drop TCP options from 3rd and later retransmitted SYN");
|
||||
|
||||
#ifdef RSS
|
||||
static int per_cpu_timers = 1;
|
||||
#else
|
||||
static int per_cpu_timers = 0;
|
||||
#endif
|
||||
SYSCTL_INT(_net_inet_tcp, OID_AUTO, per_cpu_timers, CTLFLAG_RW,
|
||||
&per_cpu_timers , 0, "run tcp timers on all cpus");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue