Re: Query related to pci_alloc_consistent()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jesse Barnes wrote:
> On Thursday, January 22, 2009 11:02 am Grant Grundler wrote:
>> On Thu, Jan 22, 2009 at 04:56:22PM +0530, yogeshwar sonawane wrote:
>>> Hi all,
>>>
>>> If there are multiple PCIe cards of the same type, e.g. 3 or 4 network
>>> controllers, in a node.
>>> Now, if one allocates a buffer using pci_alloc_consistent() using
>>> pci_dev struct of one of the card.
>>>
>>> 1) Whether that buffer can be used by remaining cards also ?
>>> OR
>>> Whether DMA addresses returned by pci_alloc_consistent() can be used
>>> by all the cards explained in above situation ?
>> What bjorn said.
>>
>>> 2) What will be the case for multiple platforms/architectures ?
>> pci_alloc_consistent() should conform to Documentation/DMA-API.txt
>> and Documentation/DMA-mapping.txt. This is true for any platform or
>> architecture.
>>
>> BTW, the latter should be moved to Documentation/PCI....Jesse?
> 
> Yeah, I thought Randy had a patch to do that...

I do/did.  I wonder how/where/when it got lost.  :(

I found it, will update it.

Thanks,
-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux