• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
DMA Performance / IODMACommand / IOSubMemoryDescriptor / Segments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DMA Performance / IODMACommand / IOSubMemoryDescriptor / Segments


  • Subject: DMA Performance / IODMACommand / IOSubMemoryDescriptor / Segments
  • From: devmaillists <email@hidden>
  • Date: Mon, 29 Jan 2007 20:13:48 +0100

Dear List,

I try to increase the performance of our DMA Transfer to and from our PCIe Card.
The DMA controller on our card can drive several DMA transfers at the same time.
We use a descriptor list to tell each channel in the DMA Controller what and where to transfer.
This list can hold a limited number of segments to transfer.
To maximize performance I need to create a IOSubMemoryDescriptor that produces exactly the amount of segments ( through IODMACommand) to fill the descriptor list.
To define a maximum segment count would be OK, too, because the list could be shorter, but it is not the optimum.
Is there a way to do this? If not I have always depenencies between the DMA channels and this means waiting.

IOMemoryCursor did this
virtual UInt32 genPhysicalSegments( 
    IOMemoryDescriptor *descriptor, 
    IOByteCount fromPosition, 
    void *segments, 
    UInt32 maxSegments, -> our scatter/gather list size
    UInt32 maxTransferSize = 0, 
    IOByteCount *transferSize = 0); 

But we use IODMACommand to get 64 Bit addresses.



Can two IOSubMemoryDescriptors describe the same memory or overlap and can they be prepared at the same time?


Thank you very much.

Jürgen

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Getting current working directory
  • Next by Date: mbuf_dup/mbuf_freem with mbufs containing aux data
  • Previous by thread: Re: Getting current working directory
  • Next by thread: mbuf_dup/mbuf_freem with mbufs containing aux data
  • Index(es):
    • Date
    • Thread