Are sk_buff buffers contiguous in physical memory ?

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

 



Hi
I'm writing a network driver.  

When my network drivers Tx function gets called I pass the sk_buff->data
pointer down to my hardwares scatter-gather DMA.

The DMA must be passed buffers that are contiguous in physical memory.
Does anyone know if the data buffer in sk_buff is contiguous (i.e.
allocated by kmalloc) ?  

If so, is there any documentation that states this to be the case ?

Thanks
dom

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux