Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2015 16:59:35 +0200
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        FreeBSD Current <current@freebsd.org>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   nice stuff from cloudflare (and, we need something like ethtool!)
Message-ID:  <CA%2BhQ2%2BhFHeS_%2BCLS6Y7XSVUPQjppd6pPmgPHWy8fw%2BA5hK%2BMRQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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@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)
-----------------------------------------+-------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BhQ2%2BhFHeS_%2BCLS6Y7XSVUPQjppd6pPmgPHWy8fw%2BA5hK%2BMRQ>