Page MenuHomeFreeBSD

Improve busy-wait loop during switch phy access in e6000sw
ClosedPublic

Authored by mw_semihalf.com on May 14 2017, 12:43 AM.

Details

Summary

Hitherto implementation of PHY polling resulted in a risk of an
endless loop and very high occupation of SMI bus. Improve the
operation by limiting the polling tries and adding sleepable
pause.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

loos accepted this revision.May 17 2017, 10:29 PM
This revision is now accepted and ready to land.May 17 2017, 10:29 PM
This revision was automatically updated to reflect the committed changes.