RE: [PATCH net] hv_netvsc: Fix VF namespace also in netvsc_open

2024-10-03 Thread Haiyang Zhang
com; k...@kernel.org; da...@davemloft.net; linux- > ker...@vger.kernel.org; sta...@vger.kernel.org > Subject: Re: [PATCH net] hv_netvsc: Fix VF namespace also in netvsc_open > > On Thu, 3 Oct 2024 11:34:49 +0200 > Paolo Abeni wrote: > > > On 9/27/24 22:54, Haiyang Zhang wro

Re: [PATCH net] hv_netvsc: Fix VF namespace also in netvsc_open

2024-10-03 Thread Stephen Hemminger
On Thu, 3 Oct 2024 11:34:49 +0200 Paolo Abeni wrote: > On 9/27/24 22:54, Haiyang Zhang wrote: > > The existing code moves VF to the same namespace as the synthetic device > > during netvsc_register_vf(). But, if the synthetic device is moved to a > > new namespace after the VF registration, the V

RE: [PATCH net] hv_netvsc: Fix VF namespace also in netvsc_open

2024-10-03 Thread Haiyang Zhang
.@networkplumber.org; da...@davemloft.net; linux- > ker...@vger.kernel.org; sta...@vger.kernel.org > Subject: Re: [PATCH net] hv_netvsc: Fix VF namespace also in netvsc_open > > On 9/27/24 22:54, Haiyang Zhang wrote: > > The existing code moves VF to the same name

Re: [PATCH net] hv_netvsc: Fix VF namespace also in netvsc_open

2024-10-03 Thread Paolo Abeni
On 9/27/24 22:54, Haiyang Zhang wrote: The existing code moves VF to the same namespace as the synthetic device during netvsc_register_vf(). But, if the synthetic device is moved to a new namespace after the VF registration, the VF won't be moved together. To make the behavior more consistent, a