nice stuff from cloudflare (and, we need something like ethtool!)

Luigi Rizzo rizzo at iet.unipi.it
Sat Oct 10 14:59:38 UTC 2015


the nice folks at cloudflare implemented a nice feature
in netmap that puts some queues of the NIC in netmap mode
leaving others attached to the host stack

https://blog.cloudflare.com/single-rx-queue-kernel-bypass-with-netmap/

and use ethtool (and native NIC filters) to steer traffic around.
[FWIW, the chelsio native netmap driver is similar except that
the netmap queue has a different MAC address]

While their code was developed on linux, it should run
almost unmodified on FreeBSD (and we plan to import it soon),
except for the fact that we don't have ethtool hence no
device-independent mechanism to configure traffic steering.

We really need to address the latter.

cheers
luigi


-- 
-----------------------------------------+-------------------------------
 Prof. Luigi RIZZO, rizzo at iet.unipi.it  . Dip. di Ing. dell'Informazione
 http://www.iet.unipi.it/~luigi/        . Universita` di Pisa
 TEL      +39-050-2217533               . via Diotisalvi 2
 Mobile   +39-338-6809875               . 56122 PISA (Italy)
-----------------------------------------+-------------------------------


More information about the freebsd-current mailing list