Page MenuHomeFreeBSD

e6000sw: schedule e6000sw_tick() to occur once a second
ClosedPublic

Authored by adrian on Apr 25 2025, 6:46 PM.
Tags
None
Referenced Files
F123153050: D50031.id154321.diff
Fri, Jul 11, 3:59 PM
Unknown Object (File)
Wed, Jul 9, 1:52 AM
Unknown Object (File)
Mon, Jul 7, 1:04 AM
Unknown Object (File)
Mon, Jul 7, 12:27 AM
Unknown Object (File)
Sat, Jul 5, 11:07 PM
Unknown Object (File)
Thu, Jul 3, 3:53 PM
Unknown Object (File)
Tue, Jul 1, 6:50 AM
Unknown Object (File)
Mon, Jun 30, 4:20 PM
Subscribers

Details

Summary

Although all the machinery is present, the tick routine only ran once.
It was never rescheduled. So, reschedule it.

However in practice I've discovered that the tick routine is running
whilst a bunch of phys are actually being probe/attached on each per-port
MII bus being created and probed off of the switch itself.

Until that's debugged (and likely the whole PHY management stuff is
cleaned up here), just add a NULL check and thus don't panic.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 25 2025, 7:39 PM
This revision now requires review to proceed.Apr 26 2025, 3:59 PM
This revision was not accepted when it landed; it landed in state Needs Review.Apr 27 2025, 6:39 PM
This revision was automatically updated to reflect the committed changes.