FreeBSD I/OAT (QuickData now?) driver

Navdeep Parhar nparhar at gmail.com
Sun Jun 12 06:48:47 UTC 2011


On Sat, Jun 11, 2011 at 08:07:18PM +0200, K. Macy wrote:
> > I'd really encourage people to look at the code (e.g. the pkt-gen.c
> > program, which is part of the archive) so you can see how easy it
> > is to use.
> 
> Provided one has a dedicated interface.

Not necessarily.

The T4 ASIC has more than 1K rx queues and ~64K tx queues, which can be
created (and destroyed) on the fly and combined under a "virtual
interface."  You could have scores of such virtual interfaces, each of
which would represent an ifnet to the kernel.

If there's interest, cxgbe(4) can grow support for virtual interfaces
and netmap tx/rx queues that come and go as required.  Untrusted rx
queues are allowed too - privileged code associates memory regions with
an rx queue, untrusted code is allowed direct access to the hardware
ring but can only specify offsets within the allowed memory region.

Regards,
Navdeep


More information about the freebsd-net mailing list