Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

c - netmap - Tun/tap vs netmap/pf_ring/dpdk

Would a Tun/tap device avoid a netmap/pf_ring/dpdk installation ? If tun/tap allow to bypass kernel, isn't it the same thing ?

Or those codes bring so many optimizations that they overclass tun os bypass strategy ?

The final goal is to port tcp/ip from kernel to user space, FOR TESTING PURPOSES.

I don't quite understand here.

Thanks

like image 556
Larry Avatar asked Aug 15 '26 06:08

Larry


1 Answers

no. for userspace tcpip implementation see lwip or rumpkernel. dpdk/pfring/netmap as you probably know are about getting packets to userspace as fast as possible. tun/tap are virtual interface things. probably not what you're after.

like image 107
daveyjcrocket Avatar answered Aug 16 '26 22:08

daveyjcrocket