Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137436742
D16852.id47177.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
411 B
Referenced Files
None
Subscribers
None
D16852.id47177.diff
View Options
Index: head/sbin/pfctl/pfctl_altq.c
===================================================================
--- head/sbin/pfctl/pfctl_altq.c
+++ head/sbin/pfctl/pfctl_altq.c
@@ -299,8 +299,10 @@
size = 4;
else if (rate <= 200 * 1000 * 1000)
size = 8;
- else
+ else if (rate <= 2500 * 1000 * 1000)
size = 24;
+ else
+ size = 128;
size = size * getifmtu(pa->ifname);
pa->tbrsize = size;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 24, 11:07 AM (49 m, 6 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26058174
Default Alt Text
D16852.id47177.diff (411 B)
Attached To
Mode
D16852: Update pfctl(8) tbrsize heuristic for high bandwidth interfaces
Attached
Detach File
Event Timeline
Log In to Comment