Only trigger em_local_timer on queue index 0. This was causing continuous

em_local_timer() executions during normal operation and was very likely
to cause a lock up on igb(4) devices.

Submitted by:	Matt Macy (mmacy@nextbsd.org)
Reported by:	jtl
Reviewed by:	gallatin
Sponsored by:	Limelight Networks & Netflix
This commit is contained in:
Sean Bruno 2017-02-12 23:06:41 +00:00
parent 987ff18184
commit bcc537c59d

View File

@ -1625,6 +1625,11 @@ em_if_timer(if_ctx_t ctx, uint16_t qid)
int i;
int trigger = 0;
if (qid != 0) {
/* XXX all this stuff is per-adapter */
return;
}
em_if_update_admin_status(ctx);
em_update_stats_counters(adapter);