Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] No link up before IFF_UP? (early link optimization)
@ 2022-04-13  6:10 Christian Melki
  0 siblings, 0 replies; only message in thread
From: Christian Melki @ 2022-04-13  6:10 UTC (permalink / raw)
  To: intel-wired-lan

I have a optimization task for a time constrained boot process.
The system in question is an AMD Ryzen from the R1000 family with an 
Intel I211 running igb in 5.17.1.

The current kernel and driver behavior:
UEFI (link up) -> Kernel starts, driver is probed (link down) -> link 
stays down until userspace IFF_UP -> after an extra +6-7 seconds the 
link comes up.

This means that the userspace can't start communication after 6-7 
seconds after device open. Moving the interface initialization earlier 
won't help much as IFF_UP is about 0.5 away from jumping to initramfs.

So the question is: Can I get the interface to stop powering down after 
probe? If reset is needed, then take up the interface again. Of course 
the kernel won't start forwarding until netif_carrier transitions.
But I'd like to move the resets and powerups as early as possible.
I guess that also means no resets if no settings have changed.

Regards,
Christian

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-13  6:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-13  6:10 [Intel-wired-lan] No link up before IFF_UP? (early link optimization) Christian Melki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox