Re: [PATCH v3 2/2] PCI/IOV: Use the cached VF BARs size instead of re-reading them

2018-03-02 Thread Raslan, KarimAllah
On Fri, 2018-03-02 at 15:48 -0600, Bjorn Helgaas wrote: > On Thu, Mar 01, 2018 at 10:31:37PM +0100, KarimAllah Ahmed wrote: > > > > Use the cached VF BARs size instead of re-reading them from the hardware. > > That avoids doing unnecessarily bus transactions which is specially > > noticable when

Re: [PATCH v3 2/2] PCI/IOV: Use the cached VF BARs size instead of re-reading them

2018-03-02 Thread Raslan, KarimAllah
On Fri, 2018-03-02 at 15:48 -0600, Bjorn Helgaas wrote: > On Thu, Mar 01, 2018 at 10:31:37PM +0100, KarimAllah Ahmed wrote: > > > > Use the cached VF BARs size instead of re-reading them from the hardware. > > That avoids doing unnecessarily bus transactions which is specially > > noticable when

Re: [PATCH v3 2/2] PCI/IOV: Use the cached VF BARs size instead of re-reading them

2018-03-02 Thread Bjorn Helgaas
On Thu, Mar 01, 2018 at 10:31:37PM +0100, KarimAllah Ahmed wrote: > Use the cached VF BARs size instead of re-reading them from the hardware. > That avoids doing unnecessarily bus transactions which is specially > noticable when you have a PF with a large number of VFs. Thanks a lot for breaking

Re: [PATCH v3 2/2] PCI/IOV: Use the cached VF BARs size instead of re-reading them

2018-03-02 Thread Bjorn Helgaas
On Thu, Mar 01, 2018 at 10:31:37PM +0100, KarimAllah Ahmed wrote: > Use the cached VF BARs size instead of re-reading them from the hardware. > That avoids doing unnecessarily bus transactions which is specially > noticable when you have a PF with a large number of VFs. Thanks a lot for breaking

[PATCH v3 2/2] PCI/IOV: Use the cached VF BARs size instead of re-reading them

2018-03-01 Thread KarimAllah Ahmed
Use the cached VF BARs size instead of re-reading them from the hardware. That avoids doing unnecessarily bus transactions which is specially noticable when you have a PF with a large number of VFs. Cc: Bjorn Helgaas Cc: linux-...@vger.kernel.org Cc:

[PATCH v3 2/2] PCI/IOV: Use the cached VF BARs size instead of re-reading them

2018-03-01 Thread KarimAllah Ahmed
Use the cached VF BARs size instead of re-reading them from the hardware. That avoids doing unnecessarily bus transactions which is specially noticable when you have a PF with a large number of VFs. Cc: Bjorn Helgaas Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: