On Wed, Jul 28, 2021 at 12:41 AM Andrew Lunn [off-list ref] wrote:
quoted
I also expect some discussion about this feature. Mapping device specific
TX/RX queues to user space is not done in mainline Linux so far.
That is probably not quite true. I expect GPUs do it, or at least
something very similar.
quoted
I will follow your suggestion and drop tsnep_stream.c for the moment.
Any early comments about this feature are welcome, because the direct
use of additional TX/RX queues for real-time communication is the main
feature of this device.
I know enough to know i don't know enough about cache management from
user space to be able to make any sensible recommendations.
You probably want to start a discussion with the XDP people and get
them to agree XDP does not work for your use case. Also, the people
who implemented zero-copy, MSG_ZEROCOPY and make sure that is also
unsuitable. Then see if you can reuse some GPU code which has been
well reviewed and tested. You will get less pushback that way,
compared to your own code which will need a good review by somebody
who understands all the issues.
I will try to follow your suggestions. Thanks!
Gerhard