On Sun, 19 Nov 2023 08:23:43 -0800 Haiyang Zhang <haiya...@microsoft.com> wrote:
> From: Long Li <lon...@microsoft.com> > > When a VF is being exposed form the kernel, it should be marked as "slave" > before exposing to the user-mode. The VF is not usable without netvsc > running as master. The user-mode should never see a VF without the "slave" > flag. > > This commit moves the code of setting the slave flag to the time before > VF is exposed to user-mode. > > Cc: sta...@vger.kernel.org > Fixes: 0c195567a8f6 ("netvsc: transparent VF management") > Signed-off-by: Long Li <lon...@microsoft.com> > Signed-off-by: Haiyang Zhang <haiya...@microsoft.com> Acked-by: Stephen Hemminger <step...@networkplumber.org>