Files
freebsd/sys/net
Andrew Gallatin ebb93ce6d8 iflib: don't update the admin status in if_media_status()
When _task_fn_admin() is active, it will regularly call
IFDI_UPDATE_ADMIN_STATUS(). So there is no need to do it in
iflib_media_status. This can be fairly expensive on some drivers (long
DELAY busywait loops waiting for a NIC command), and there is no need
to pause a userspace app in this DELAY() if it is happening
asynchronously anyway.

Note the logic to detect if _task_fn_admin() is regularly calling
IFDI_UPDATE_ADMIN_STATUS() was copied from that function.

Reviewed by: erj, kbowling
Sponsored by: Netflix
Differential Revision:	https://reviews.freebsd.org/D54096
2026-08-31 17:17:44 -04:00
..
2026-08-14 00:54:27 +00:00
2025-12-18 08:46:20 -08:00
2026-08-11 07:39:30 -07:00
2026-03-15 00:41:29 -03:00
2025-01-17 17:00:08 +01:00
…
…
…
…
…
2026-04-12 10:26:08 -07:00
…
2025-12-08 09:20:56 -08:00
2025-12-08 09:20:56 -08:00
…
…
…
…
2025-07-28 16:36:54 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-05-21 23:19:50 +02:00
…
…
…
2026-07-29 00:24:24 +03:30
2026-08-04 11:55:22 +02:00