Page MenuHomeFreeBSD

D58610.1795182488.diff
No OneTemporary

Authored By
Unknown
Size
612 B
Referenced Files
None
Subscribers
None

D58610.1795182488.diff

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

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)

Event Timeline