Re: [PATCH 6/8 v4] PCI: support the SR-IOV capability

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Zhao, Yu
Date: Tuesday, October 14, 2008 - 7:04 pm

Matthew Wilcox wrote:

Yes, it's supposed to be in the 'struct pci_iov', and the resources used 
to be there in early version. But later I found all resource related 
functions such as pci_assign_resource, pdev_sort_resources, 
pbus_size_mem, etc. assume the resources are bundled with 'struct 
pci_dev' and address them using their indexes. Encapsulating resources 
into 'pci_iov' will impact all these functions. And I think we can 
postpone the change of these functions until the PCIM comes out, if the 
IOV is the only one who uses non-standard resources.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/8 v4] PCI: Linux kernel SR-IOV support, Yu Zhao, (Tue Oct 14, 3:34 am)
[PATCH 2/8 v4] PCI: export __pci_read_base, Yu Zhao, (Tue Oct 14, 3:48 am)
[PATCH 3/8 v4] PCI: export pci_alloc_child_bus, Yu Zhao, (Tue Oct 14, 3:53 am)
[PATCH 8/8 v4] PCI: document the changes, Yu Zhao, (Tue Oct 14, 4:01 am)
Re: [PATCH 6/8 v4] PCI: support the SR-IOV capability, Matthew Wilcox, (Tue Oct 14, 5:30 am)
Re: [PATCH 6/8 v4] PCI: support the SR-IOV capability, Zhao, Yu, (Tue Oct 14, 7:04 pm)
Re: [PATCH 8/8 v4] PCI: document the changes, Pavel Machek, (Fri Oct 17, 3:54 pm)