Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177743989
D58610.1795182488.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
612 B
Referenced Files
None
Subscribers
None
D58610.1795182488.diff
View Options
Index: sys/dev/bnxt/bnxt_en/if_bnxt.c
===================================================================
--- sys/dev/bnxt/bnxt_en/if_bnxt.c
+++ sys/dev/bnxt/bnxt_en/if_bnxt.c
@@ -4165,8 +4165,10 @@
struct bnxt_softc *softc = iflib_get_softc(ctx);
uint64_t ticks_now = ticks;
- /* Schedule bnxt_update_admin_status() once per sec */
- if (ticks_now - softc->admin_ticks >= hz) {
+ /* Schedule bnxt_update_admin_status() once per 250ms
+ * (default polling interval)
+ */
+ if (ticks_now - softc->admin_ticks >= (hz / 4)) {
softc->admin_ticks = ticks_now;
iflib_admin_intr_deferred(ctx);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 20, 1:48 PM (11 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41868779
Default Alt Text
D58610.1795182488.diff (612 B)
Attached To
Mode
D58610: if_bnxt: Collect hw stats every 250 milliseconds
Attached
Detach File
Event Timeline