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 ]
|