On Tue, Dec 19, 2017 at 10:41 AM, Stephen Hemminger <stephen@xxxxxxxxxxxxxxxxxx> wrote:
The plan is to remove the delay and do the naming in the kernel.On Tue, 19 Dec 2017 13:21:17 -0500 (EST)
David Miller <davem@xxxxxxxxxxxxx> wrote:
> From: Stephen Hemminger <stephen@xxxxxxxxxxxxxxxxxx>
> Date: Tue, 19 Dec 2017 09:55:48 -0800
>
> > could be 10ms, just enough to let udev do its renaming
>
> Please, move to some kind of notification or event based handling of
> this problem.
>
> No delay is safe, what if userspace gets swapped out or whatever
> else might make userspace stall unexpectedly?
>
This was suggested by Lennart since udev is only doing naming policy
because kernel names were not repeatable.
This makes the VF show up as "ethN_vf" on Hyper-V which is user friendly.
Patch is pending.
I'm not sure if this is consistent with Windows guest or not, but I don't find it _Linux_ user friendly that ethtool doesn't work on the composite interface any more, and I have to end up with finding out the correct enslaved VF I must operate on.
Regards,
-Siwei
_______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization