Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148098382
D34298.1785366150.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D34298.1785366150.diff
View Options
Index: sys/netinet/tcp_lro.h
===================================================================
--- sys/netinet/tcp_lro.h
+++ sys/netinet/tcp_lro.h
@@ -193,6 +193,11 @@
#define M_ACKCMP M_PROTO4 /* Indicates LRO is sending in a Ack-compression mbuf */
#define M_LRO_EHDRSTRP M_PROTO6 /* Indicates that LRO has stripped the etherenet header */
+#define lro_tcp_d_len PH_loc.sixteen[0] /* inbound during LRO (no reassembly) */
+#define lro_tcp_d_csum PH_loc.sixteen[1] /* inbound during LRO (no reassembly) */
+#define lro_tcp_h_off PH_loc.sixteen[2] /* inbound during LRO (no reassembly) */
+#define lro_etype PH_loc.sixteen[3] /* inbound during LRO (no reassembly) */
+
#define TCP_LRO_LENGTH_MAX (65535 - 255) /* safe value with room for outer headers */
#define TCP_LRO_ACKCNT_MAX 65535 /* unlimited */
Index: sys/sys/mbuf.h
===================================================================
--- sys/sys/mbuf.h
+++ sys/sys/mbuf.h
@@ -212,10 +212,6 @@
#define tso_segsz PH_per.sixteen[1] /* inbound after LRO */
#define lro_nsegs tso_segsz /* inbound after LRO */
#define csum_data PH_per.thirtytwo[1] /* inbound from hardware up */
-#define lro_tcp_d_len PH_loc.sixteen[0] /* inbound during LRO (no reassembly) */
-#define lro_tcp_d_csum PH_loc.sixteen[1] /* inbound during LRO (no reassembly) */
-#define lro_tcp_h_off PH_loc.sixteen[2] /* inbound during LRO (no reassembly) */
-#define lro_etype PH_loc.sixteen[3] /* inbound during LRO (no reassembly) */
/* Note PH_loc is used during IP reassembly (all 8 bytes as a ptr) */
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 29, 11:02 PM (10 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29307763
Default Alt Text
D34298.1785366150.diff (1 KB)
Attached To
Mode
D34298: mbuf / lro: move defines from mbuf.h to tcp_lro.h
Attached
Detach File
Event Timeline
Log In to Comment