pci_map_single () question
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat Kernel > pci_map_single () question




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    pci_map_single () question  
Hello_guy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-16-04 04:16 PM

I am developing something similar to an ethernet driver . This ethernet
driver has a ring RX buffer. Now following is my question.
Can  I just allocate buffer using dev_alloc_skb() and pass the BUS address
to my H/W. So that my h/w could directly DMA the packet to the BUS physical
address.

Why is it, in some driver pci_map_single function is used to map the address
again to DMA.

My MTU size is 1600. which is less than a page size . Is there any
requirement of  pci_map_single ()

Any suggestion would be appreciated.
Hadi








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:41 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register