Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148428751
D21127.id61751.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D21127.id61751.diff
View Options
Index: head/sys/netinet/tcp_subr.c
===================================================================
--- head/sys/netinet/tcp_subr.c
+++ head/sys/netinet/tcp_subr.c
@@ -1125,6 +1125,13 @@
SHUTDOWN_PRI_DEFAULT);
EVENTHANDLER_REGISTER(maxsockets_change, tcp_zone_change, NULL,
EVENTHANDLER_PRI_ANY);
+
+ tcp_inp_lro_direct_queue = counter_u64_alloc(M_WAITOK);
+ tcp_inp_lro_wokeup_queue = counter_u64_alloc(M_WAITOK);
+ tcp_inp_lro_compressed = counter_u64_alloc(M_WAITOK);
+ tcp_inp_lro_single_push = counter_u64_alloc(M_WAITOK);
+ tcp_inp_lro_locks_taken = counter_u64_alloc(M_WAITOK);
+ tcp_inp_lro_sack_wake = counter_u64_alloc(M_WAITOK);
#ifdef TCPPCAP
tcp_pcap_init();
#endif
Index: head/sys/netinet/tcp_var.h
===================================================================
--- head/sys/netinet/tcp_var.h
+++ head/sys/netinet/tcp_var.h
@@ -887,6 +887,13 @@
find_and_ref_tcp_fb(struct tcp_function_block *fs);
int tcp_default_ctloutput(struct socket *so, struct sockopt *sopt, struct inpcb *inp, struct tcpcb *tp);
+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_single_push;
+extern counter_u64_t tcp_inp_lro_locks_taken;
+extern counter_u64_t tcp_inp_lro_sack_wake;
+
uint32_t tcp_maxmtu(struct in_conninfo *, struct tcp_ifcap *);
uint32_t tcp_maxmtu6(struct in_conninfo *, struct tcp_ifcap *);
u_int tcp_maxseg(const struct tcpcb *);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 18, 7:41 PM (15 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29922961
Default Alt Text
D21127.id61751.diff (1 KB)
Attached To
Mode
D21127: Final prep patch for BBR
Attached
Detach File
Event Timeline
Log In to Comment