freebsd-nq/sys/dev/cxgbe
Luigi Rizzo 4bf50f18eb Update to the current version of netmap.
Mostly bugfixes or features developed in the past 6 months,
so this is a 10.1 candidate.

Basically no user API changes (some bugfixes in sys/net/netmap_user.h).

In detail:

1. netmap support for virtio-net, including in netmap mode.
  Under bhyve and with a netmap backend [2] we reach over 1Mpps
  with standard APIs (e.g. libpcap), and 5-8 Mpps in netmap mode.

2. (kernel) add support for multiple memory allocators, so we can
  better partition physical and virtual interfaces giving access
  to separate users. The most visible effect is one additional
  argument to the various kernel functions to compute buffer
  addresses. All netmap-supported drivers are affected, but changes
  are mechanical and trivial

3. (kernel) simplify the prototype for *txsync() and *rxsync()
  driver methods. All netmap drivers affected, changes mostly mechanical.

4. add support for netmap-monitor ports. Think of it as a mirroring
  port on a physical switch: a netmap monitor port replicates traffic
  present on the main port. Restrictions apply. Drive carefully.

5. if_lem.c: support for various paravirtualization features,
  experimental and disabled by default.
  Most of these are described in our ANCS'13 paper [1].
  Paravirtualized support in netmap mode is new, and beats the
  numbers in the paper by a large factor (under qemu-kvm,
  we measured gues-host throughput up to 10-12 Mpps).

A lot of refactoring and additional documentation in the files
in sys/dev/netmap, but apart from #2 and #3 above, almost nothing
of this stuff is visible to other kernel parts.

Example programs in tools/tools/netmap have been updated with bugfixes
and to support more of the existing features.

This is meant to go into 10.1 so we plan an MFC before the Aug.22 deadline.

A lot of this code has been contributed by my colleagues at UNIPI,
including Giuseppe Lettieri, Vincenzo Maffione, Stefano Garzarella.

MFC after:	3 days.
2014-08-16 15:00:01 +00:00
..
common cxgbe(4): Do not poke T4-only registers on a T5 (and vice versa). 2014-08-08 18:36:53 +00:00
firmware cxgbe(4): Update the bundled T4 and T5 firmwares to versions 1.11.27.0. 2014-06-22 23:40:20 +00:00
iw_cxgbe Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
tom Some hooks in cxgbe(4) for the offloaded iSCSI driver. 2014-07-24 18:39:08 +00:00
adapter.h cxgbe(4): some optimizations in freelist handling. 2014-08-02 06:55:36 +00:00
offload.h Some hooks in cxgbe(4) for the offloaded iSCSI driver. 2014-07-24 18:39:08 +00:00
osdep.h Add hooks in base cxgbe(4) for the iWARP upper-layer driver. Update a 2013-08-28 20:45:45 +00:00
t4_ioctl.h cxgbe(4): T4_SET_SCHED_CLASS and T4_SET_SCHED_QUEUE ioctls to program 2013-12-03 18:34:52 +00:00
t4_l2t.c Include necessary headers that now are available due to pollution 2013-10-28 07:29:16 +00:00
t4_l2t.h cxgbe(4): Updates to the hardware L2 table management code. 2013-01-14 20:36:22 +00:00
t4_main.c cxgbe(4): Let caller specify whether it's ok to sleep in 2014-08-06 19:38:03 +00:00
t4_netmap.c Update to the current version of netmap. 2014-08-16 15:00:01 +00:00
t4_sge.c cxgbe(4): some optimizations in freelist handling. 2014-08-02 06:55:36 +00:00
t4_tracer.c cxgbe(4): Remove stray if_up from the code that creates the tracing ifnet. 2014-05-23 01:45:44 +00:00