Re: [PATCH mlx5-next v2 0/5] Dynamically assign MSI-X vectors count

2021-01-18 Thread Leon Romanovsky
On Mon, Jan 18, 2021 at 10:07:32AM -0800, Jakub Kicinski wrote: > On Sun, 17 Jan 2021 09:24:41 +0200 Leon Romanovsky wrote: > > On Sun, Jan 17, 2021 at 07:44:09AM +0200, Leon Romanovsky wrote: > > > On Thu, Jan 14, 2021 at 09:51:28AM -0800, Jakub Kicinski wrote: > > > > On Thu, 14 Jan 2021 12:31:35

Re: [PATCH mlx5-next v2 0/5] Dynamically assign MSI-X vectors count

2021-01-18 Thread Jakub Kicinski
On Sun, 17 Jan 2021 09:24:41 +0200 Leon Romanovsky wrote: > On Sun, Jan 17, 2021 at 07:44:09AM +0200, Leon Romanovsky wrote: > > On Thu, Jan 14, 2021 at 09:51:28AM -0800, Jakub Kicinski wrote: > > > On Thu, 14 Jan 2021 12:31:35 +0200 Leon Romanovsky wrote: > > > > The number of MSI-X vectors is

Re: [PATCH mlx5-next v2 0/5] Dynamically assign MSI-X vectors count

2021-01-16 Thread Leon Romanovsky
On Sun, Jan 17, 2021 at 07:44:09AM +0200, Leon Romanovsky wrote: > On Thu, Jan 14, 2021 at 09:51:28AM -0800, Jakub Kicinski wrote: > > On Thu, 14 Jan 2021 12:31:35 +0200 Leon Romanovsky wrote: > > > The number of MSI-X vectors is PCI property visible through lspci, that > > > field is read-only and

Re: [PATCH mlx5-next v2 0/5] Dynamically assign MSI-X vectors count

2021-01-16 Thread Leon Romanovsky
On Thu, Jan 14, 2021 at 09:51:28AM -0800, Jakub Kicinski wrote: > On Thu, 14 Jan 2021 12:31:35 +0200 Leon Romanovsky wrote: > > The number of MSI-X vectors is PCI property visible through lspci, that > > field is read-only and configured by the device. > > > > The static assignment of an amount of

Re: [PATCH mlx5-next v2 0/5] Dynamically assign MSI-X vectors count

2021-01-14 Thread Jakub Kicinski
On Thu, 14 Jan 2021 12:31:35 +0200 Leon Romanovsky wrote: > The number of MSI-X vectors is PCI property visible through lspci, that > field is read-only and configured by the device. > > The static assignment of an amount of MSI-X vectors doesn't allow utilize > the newly created VF because it is

[PATCH mlx5-next v2 0/5] Dynamically assign MSI-X vectors count

2021-01-14 Thread Leon Romanovsky
From: Leon Romanovsky Changelog v2: * Patch 1: * Renamed vf_msix_vec sysfs knob to be sriov_vf_msix_count * Added PF and VF device locks during set MSI-X call to protect from parallel driver bind/unbind operations. * Removed extra checks when reading sriov_vf_msix, because users will