Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177861442
D5854.1795454152.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
523 B
Referenced Files
None
Subscribers
None
D5854.1795454152.diff
View Options
Index: head/sys/dev/vnic/thunder_bgx.c
===================================================================
--- head/sys/dev/vnic/thunder_bgx.c
+++ head/sys/dev/vnic/thunder_bgx.c
@@ -240,7 +240,7 @@
bgx_poll_reg(struct bgx *bgx, uint8_t lmac, uint64_t reg, uint64_t mask,
boolean_t zero)
{
- int timeout = 100;
+ int timeout = 10;
uint64_t reg_val;
while (timeout) {
@@ -250,7 +250,7 @@
if (!zero && (reg_val & mask))
return (0);
- DELAY(1000);
+ DELAY(100);
timeout--;
}
return (ETIMEDOUT);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 23, 5:15 PM (16 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41935629
Default Alt Text
D5854.1795454152.diff (523 B)
Attached To
Mode
D5854: Speedup BGX link polling on ARM64
Attached
Detach File
Event Timeline