How to use V4L2 dmafd with sendfile?

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

 



Hi there,
 
I want to use sendfile to send my images really fast over the network. The V4L2 driver supports a ioctl called VIDIOC_EXPBUF which exports a mmaped memory area as a fd, but sendfile does not work on this dmafd. read, write, seek returns with EINVAL.
 
- What is the proper way to get a filedescriptor from a memory region on V4L2? (memfd does not work)
- What needs to be changed on V4L2-capture driver or sendfile?
 
Thanks,
Frank
 
 
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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