On 07/14/2017 10:46 AM, tom.barbette@xxxxxxxxx wrote: [...]
Netmap hooks exactly where XDP does. We would just need a little shared-memory module that hooks in XDP and give all the raw packets to a userspace program.
There is work in progress for a faster AF_PACKET interface for RX/TX, which would be a much better fit given AF_PACKET's purpose. Some RFC patches have been posted here [1][2] some time ago. [1] http://patchwork.ozlabs.org/patch/720937/ [2] http://patchwork.ozlabs.org/patch/720936/
Tom