Skip to contentSkip to conversation

net: pci: Fix hotplug event timeout with shpchp

PATCH linmiaohe 1 participant 1 message Jul 3, 2019 PCI

lore
Share & tools
lore

linmiaohe

author
#0 lore raw
Quoted 7 lines · Miaohe Lin
Quoted 2 lines

Hotplug a network card would take more than 5 seconds in qemu + shpchp scene. It’s because 5 seconds delayed_work in func

I'm dropping this because of the required delay pointed out by Lukas.

If you think we still need to do something here, please clarify the situation. Are you hot-adding? Hot-swapping? Since you mention a protocol timeout, I suspect the latter, e.g., maybe you had an existing device with connections already open, and you want to replace it with a new device We do have to preserve the existing user experience, e.g., delays to allow operators to recover from mistaken latch opens or button presses. But if we knew more about what you're trying to do, maybe we could figure out another approach.

Thanks for your reply. As is spec required, we would try to work around it. Many thanks.

Have a good day.
Best wishes.