mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add missing chunks after cherry-picking 9ca874cf74
from main to stable/13: Add TCP LRO support for VLAN and VxLAN. Make sure all counters are allocated. This is a direct commit. Reported by: Herbert J. Skuhra <herbert@gojira.at> Sponsored by: Mellanox Technologies // NVIDIA Networking
This commit is contained in:
parent
043f204985
commit
ca81bcbbf1
2 changed files with 8 additions and 0 deletions
|
|
@ -1509,6 +1509,10 @@ tcp_init(void)
|
|||
tcp_inp_lro_wokeup_queue = counter_u64_alloc(M_WAITOK);
|
||||
tcp_inp_lro_compressed = counter_u64_alloc(M_WAITOK);
|
||||
tcp_inp_lro_locks_taken = counter_u64_alloc(M_WAITOK);
|
||||
tcp_extra_mbuf = counter_u64_alloc(M_WAITOK);
|
||||
tcp_would_have_but = counter_u64_alloc(M_WAITOK);
|
||||
tcp_comp_total = counter_u64_alloc(M_WAITOK);
|
||||
tcp_uncomp_total = counter_u64_alloc(M_WAITOK);
|
||||
#ifdef TCPPCAP
|
||||
tcp_pcap_init();
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1010,6 +1010,10 @@ extern counter_u64_t tcp_inp_lro_direct_queue;
|
|||
extern counter_u64_t tcp_inp_lro_wokeup_queue;
|
||||
extern counter_u64_t tcp_inp_lro_compressed;
|
||||
extern counter_u64_t tcp_inp_lro_locks_taken;
|
||||
extern counter_u64_t tcp_extra_mbuf;
|
||||
extern counter_u64_t tcp_would_have_but;
|
||||
extern counter_u64_t tcp_comp_total;
|
||||
extern counter_u64_t tcp_uncomp_total;
|
||||
|
||||
#ifdef NETFLIX_EXP_DETECTION
|
||||
/* Various SACK attack thresholds */
|
||||
|
|
|
|||
Loading…
Reference in a new issue