commit | ea629d873f3e140fb2e3181c30413e485ee9002b | [log] [tgz] |
---|---|---|
author | Yongji Xie <xyjxie@linux.vnet.ibm.com> | Wed Feb 15 14:50:22 2017 +0800 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Apr 18 14:47:19 2017 -0500 |
tree | 6f3d4ddbc4ef06422b7944b5fe3e5a217fac4912 | |
parent | 76dc52684d0f72971d9f6cc7d5ae198061b715bd [diff] |
PCI: Ignore requested alignment for IOV BARs We would call pci_reassigndev_resource_alignment() before pci_init_capabilities(). So the requested alignment would never work for IOV BARs. Furthermore, it's meaningless to request additional alignment for IOV BARs, the IOV BAR alignment is only determined by the VF BAR size. Signed-off-by: Yongji Xie <xyjxie@linux.vnet.ibm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>