Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144635725
D40704.1775929384.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
547 B
Referenced Files
None
Subscribers
None
D40704.1775929384.diff
View Options
diff --git a/sys/netinet/tcp_lro.c b/sys/netinet/tcp_lro.c
--- a/sys/netinet/tcp_lro.c
+++ b/sys/netinet/tcp_lro.c
@@ -1472,21 +1472,7 @@
LIST_INSERT_HEAD(&lc->lro_free, le, next);
}
-#ifdef HAVE_INLINE_FLSLL
#define tcp_lro_msb_64(x) (1ULL << (flsll(x) - 1))
-#else
-static inline uint64_t
-tcp_lro_msb_64(uint64_t x)
-{
- x |= (x >> 1);
- x |= (x >> 2);
- x |= (x >> 4);
- x |= (x >> 8);
- x |= (x >> 16);
- x |= (x >> 32);
- return (x & ~(x >> 1));
-}
-#endif
/*
* The tcp_lro_sort() routine is comparable to qsort(), except it has
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 11, 5:43 PM (5 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28325789
Default Alt Text
D40704.1775929384.diff (547 B)
Attached To
Mode
D40704: tcp_lro: remove backup for non-inlined flsll
Attached
Detach File
Event Timeline
Log In to Comment