freebsd-skq/sys/contrib
Justin Hibbits 0aeed3e993 Add support for the Freescale dTSEC DPAA-based ethernet controller.
Freescale's QorIQ line includes a new ethernet controller, based on their
Datapath Acceleration Architecture (DPAA).  This uses a combination of a Frame
manager, Buffer manager, and Queue manager to improve performance across all
interfaces by being able to pass data directly between hardware acceleration
interfaces.

As part of this import, Freescale's Netcomm Software (ncsw) driver is imported.
This was an attempt by Freescale to create an OS-agnostic sub-driver for
managing the hardware, using shims to interface to the OS-specific APIs.  This
work was abandoned, and Freescale's primary work is in the Linux driver (dual
BSD/GPL license).  Hence, this was imported directly to sys/contrib, rather than
going through the vendor area.  Going forward, FreeBSD-specific changes may be
made to the ncsw code, diverging from the upstream in potentially incompatible
ways.  An alternative could be to import the Linux driver itself, using the
linuxKPI layer, as that would maintain parity with the vendor-maintained driver.
However, the Linux driver has not been evaluated for reliability yet, and may
have issues with the import, whereas the ncsw-based driver in this commit was
completed by Semihalf 4 years ago, and is very stable.

Other SoC modules based on DPAA, which could be added in the future:
* Security and Encryption engine (SEC4.x, SEC5.x)
* RAID engine

Additional work to be done:
* Implement polling mode
* Test vlan support
* Add support for the Pattern Matching Engine, which can do regular expression
  matching on packets.

This driver has been tested on the P5020 QorIQ SoC.  Others listed in the
dtsec(4) manual page are expected to work as the same DPAA engine is included in
all.

Obtained from:	Semihalf
Relnotes:	Yes
Sponsored by:	Alex Perez/Inertial Computing
2016-02-29 03:38:00 +00:00
..
alpine-hal Import Annapurna Labs Alpine HAL for networking 2016-01-26 15:22:04 +00:00
cloudabi Import the latest CloudABI system call definitions and table. 2015-08-05 13:09:46 +00:00
dev [rtwn] add rtwn firmware. 2015-12-31 22:31:43 +00:00
ipfilter/netinet These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
libfdt Update to latest git version of dtc to get new dtsv2 support, 2012-07-24 16:29:33 +00:00
libnv Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
ncsw Add support for the Freescale dTSEC DPAA-based ethernet controller. 2016-02-29 03:38:00 +00:00
ngatm Fix the following -Werror warning from clang 3.5.0, while building 2014-11-19 07:47:37 +00:00
octeon-sdk Turns out that there really isn't an RTC chip on this board, at all. 2013-05-12 01:29:18 +00:00
rdma/krping Have krping use IB_ACCESS_LOCAL_WRITE because it's required for remote 2016-01-05 01:58:30 +00:00
v4l Fix build for gcc users by declaring variables for unions in structs which 2013-07-10 10:40:52 +00:00
vchiq/interface ARM: Use new ARMv6 naming conventions for cache and TLB functions 2016-02-05 14:57:41 +00:00
x86emu Optimize ROL and ROR emulations and fix comments. 2016-02-18 23:03:37 +00:00
xz-embedded MFV r262756: 2014-03-05 01:33:15 +00:00