This update cleans up the code and simplifies the xmit routines to
share some of the code. It also brings tap up to date to do scatter
gather and TSO on transmit. The result is ... drum roll... 4.5Gbit+
on iperf on my laptop. As a reference QEMU+kvm with all bells and
whistles does under 1GBit and LXC with vEth does ~ 20GBit.

TSO on RX is still not implemented - this is XMIT only.

The same code should also work for raw, but it does not. It looks
like a BUG in the actual linux af_packet.c raw socket implementation.
I am probably going to implement TSO on RX so I have a full frame
of reference to see if the RX TSO in raw sockets is broken (or not)
next. So for the time being raw does only checksums.

I will try to find some time to add Geneve and VXLAN to this. It will
be after I figure out RAW and TSO on RX for RAW and TAP.

Brgds,

A.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to