diff options
author | Randall Stewart <rrs@FreeBSD.org> | 2021-01-27 17:09:32 +0000 |
---|---|---|
committer | Randall Stewart <rrs@FreeBSD.org> | 2021-02-17 15:41:01 +0000 |
commit | 69a34e8d0235c0304a28bf8ab076b931aa61835f (patch) | |
tree | 70b3fbabf126e530708c7c772361bb540519f0d0 /sys/netinet/tcp_var.h | |
parent | 4a7d84058d88244c405fc0b73d6985681eb661f5 (diff) | |
download | src-69a34e8d0235c0304a28bf8ab076b931aa61835f.tar.gz src-69a34e8d0235c0304a28bf8ab076b931aa61835f.zip |
Update the LRO processing code so that we can support
a further CPU enhancements for compressed acks. These
are acks that are compressed into an mbuf. The transport
has to be aware of how to process these, and an upcoming
update to rack will do so. You need the rack changes
to actually test and validate these since if the transport
does not support mbuf compression, then the old code paths
stay in place. We do in this commit take out the concept
of logging if you don't have a lock (which was quite
dangerous and was only for some early debugging but has
been left in the code).
Sponsored by: Netflix Inc.
Differential Revision: https://reviews.freebsd.org/D28374
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r-- | sys/netinet/tcp_var.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index 6e22d75ac441..30009fa18205 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -984,6 +984,13 @@ extern counter_u64_t tcp_inp_lro_compressed; extern counter_u64_t tcp_inp_lro_single_push; extern counter_u64_t tcp_inp_lro_locks_taken; extern counter_u64_t tcp_inp_lro_sack_wake; +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; +extern counter_u64_t tcp_csum_hardware; +extern counter_u64_t tcp_csum_hardware_w_ph; +extern counter_u64_t tcp_csum_software; #ifdef NETFLIX_EXP_DETECTION /* Various SACK attack thresholds */ |