[PATCH] Add API for releasing zero-copy USB buffers

Karl Semich 0xloem at gmail.com
Wed Sep 19 19:46:56 UTC 2018


I was trying to take advantage of the async zero-copy buffer feature
in librtlsdr, but I found that the automatic resubmission of them made
it hard to make use of them safely.

This patch adds a couple function to manage buffers in a more advanced
manner, so that latency and reuse can be tracked precisely.

I also added some documentation.

I can occasionally make a lot of mistakes, so if anybody has time to
take a brief glance through, it would be really great.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-API-for-releasing-zero-copy-USB-buffers.patch
Type: application/octet-stream
Size: 8877 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/osmocom-sdr/attachments/20180919/5144c201/attachment.obj>

More information about the osmocom-sdr mailing list