Re: [PATCH] net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)

From: Dan Williams
Date: Tue Mar 15 2016 - 14:19:17 EST


On Tue, 2016-03-15 at 12:50 +0200, Netanel Belgazal wrote:
> This is a driver for the Amazon ethernet ENA family.
> The driver operates variety of ENA adapters through
> feature negotiation with the adapter and upgradable commands set.
> ENA driver handles PCI Physical and Virtual ENA functions.
>
> The ENA device is not yet released to public.
> He is expected to be released soon.
> For the full specification of the device please refer to:
> <SPEC-PATH>
>
> Signed-off-by: Netanel Belgazal <netanel@xxxxxxxxxxxxxxxxx>
>

<snip>

> diff --git a/Documentation/networking/ena.txt
> b/Documentation/networking/ena.txt
> new file mode 100644
> index 0000000..f10e6db
> --- /dev/null
> +++ b/Documentation/networking/ena.txt
> @@ -0,0 +1,330 @@
> +Linux kernel driver for Elastic Network Adapter (ENA) family:
> +=============================================================
> +
> +Overview:
> +=========
> +The ENA driver provides a modern Ethernet device interface optimized
> +for high performance and low CPU overhead.
> +
> +The ENA driver exposes a lightweight management interface with a
> +minimal set of memory mapped registers and extendable command set
> +through an Admin Queue.
> +
> +The driver supports a wide range of ENA devices, is link-speed
> +independent (i.e., the same driver is used for 10GbE, 25GbE, 40GbE,
> +etc.), and it has a negotiated and extendable feature set.
> +
> +Some ENA devices support SR-IOV. This driver is used for both the
> +SR-IOV Physical Function (PF) and Virtual Function (VF) devices.
> +
> +ENA devices allow high speed and low overhead Ethernet traffic
> +processing by providing a dedicated Tx/Rx queue pair per host CPU, a
> +dedicated MSI-X interrupt vector per Tx/Rx queue pair, adaptive
> +interrupt moderation, and CPU cacheline optimized data placement.
> +
> +The ENA driver supports industry standard TCP/IP offload features
> such
> +as checksum offload and TCP transmit segmentation offload (TSO).
> +
> +Receive-side scaling (RSS) is supported for multi-core scaling.

Any chance it also supports VXLAN offload?

Dan