Re: [PATCH net-next] net/mlx4_core: Fix backward compatibility on VFs

2016-03-21 Thread Alexey Kardashevskiy
On 03/22/2016 12:56 AM, Eli Cohen wrote: On Mon, Mar 21, 2016 at 04:02:16PM +1100, Alexey Kardashevskiy wrote: After more tries, I found that if for whatever reason mlx4_core fails to stop while shutting the guest down (last message is "mlx4_core :00:00.0: mlx4_shutdown was called"), then

Re: [PATCH net-next] net/mlx4_core: Fix backward compatibility on VFs

2016-03-21 Thread Eli Cohen
On Mon, Mar 21, 2016 at 04:02:16PM +1100, Alexey Kardashevskiy wrote: > > After more tries, I found that if for whatever reason mlx4_core > fails to stop while shutting the guest down (last message is > "mlx4_core :00:00.0: mlx4_shutdown was called"), then next time > VF in guest won't start.

Re: [PATCH net-next] net/mlx4_core: Fix backward compatibility on VFs

2016-03-20 Thread Alexey Kardashevskiy
On 03/18/2016 08:45 PM, Alexey Kardashevskiy wrote: On 03/18/2016 03:49 AM, Eli Cohen wrote: Commit 85743f1eb345 ("net/mlx4_core: Set UAR page size to 4KB regardless of system page size") introduced dependency where old VF drivers without this fix fail to load if the PF driver runs with this

Re: [PATCH net-next] net/mlx4_core: Fix backward compatibility on VFs

2016-03-20 Thread Or Gerlitz
On Sun, Mar 20, 2016 at 9:07 AM, Yuval Shaia wrote: > On Fri, Mar 18, 2016 at 11:11:06PM -0400, David Miller wrote: >> From: Eli Cohen >> Date: Thu, 17 Mar 2016 18:49:42 +0200 >> > Commit 85743f1eb345 ("net/mlx4_core: Set UAR page size to 4KB

Re: [PATCH net-next] net/mlx4_core: Fix backward compatibility on VFs

2016-03-20 Thread Yuval Shaia
On Fri, Mar 18, 2016 at 11:11:06PM -0400, David Miller wrote: > From: Eli Cohen > Date: Thu, 17 Mar 2016 18:49:42 +0200 > > > Commit 85743f1eb345 ("net/mlx4_core: Set UAR page size to 4KB regardless > > of system page size") introduced dependency where old VF drivers without >

Re: [PATCH net-next] net/mlx4_core: Fix backward compatibility on VFs

2016-03-19 Thread Alexey Kardashevskiy
On 03/18/2016 03:49 AM, Eli Cohen wrote: Commit 85743f1eb345 ("net/mlx4_core: Set UAR page size to 4KB regardless of system page size") introduced dependency where old VF drivers without this fix fail to load if the PF driver runs with this commit. To resolve this add a module parameter which

[PATCH net-next] net/mlx4_core: Fix backward compatibility on VFs

2016-03-18 Thread Eli Cohen
Commit 85743f1eb345 ("net/mlx4_core: Set UAR page size to 4KB regardless of system page size") introduced dependency where old VF drivers without this fix fail to load if the PF driver runs with this commit. To resolve this add a module parameter which disables that functionality by default. If

Re: [PATCH net-next] net/mlx4_core: Fix backward compatibility on VFs

2016-03-18 Thread David Miller
From: Eli Cohen Date: Thu, 17 Mar 2016 18:49:42 +0200 > Commit 85743f1eb345 ("net/mlx4_core: Set UAR page size to 4KB regardless > of system page size") introduced dependency where old VF drivers without > this fix fail to load if the PF driver runs with this commit. > > To