From patchwork Fri Sep 7 07:25:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 146179 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp838390ljw; Fri, 7 Sep 2018 00:27:19 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZXw4Qgko1P9FGGK82YLUr+WK8pII1ix7cOhNIUmCNMZj38wzzskGk2WvZBQ4DnDyfe4NiC X-Received: by 2002:a1c:5e08:: with SMTP id s8-v6mr4621196wmb.88.1536305239145; Fri, 07 Sep 2018 00:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536305239; cv=none; d=google.com; s=arc-20160816; b=jasZRMK8ccC52/fBUzRj1NanEnWvetYEOoqGQJS+RB0pJJ4Ow2xdGnmaUDm+cPlW9q OHWZQWUhtPj7gVjz2w2C1qhAMQ8z9WED4GvFgbibYwr7LMvJQ5onGkXPuSAEaQ+RYMj3 bBHuDZm4somsSoqdJSE3ZxcdcRi/JLvfDVWK6zBVklvOfK5DhEtMS2XKVKNLl9xevVId sTzVsHdUeWRQ0ISpAtoR0v7BdSM7gyojy2+d1tvg5zJZnanNX8KBQkW/HwFzeDo2xYGZ CBXZqPuUjtoilvf2rWPKwmEXlFCYmO+qBAznqGXe7z3t2LK8H8hzaY1ZufED8HsT/Esq YwAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:cc:to:from; bh=N8z9fmNfbI/k/ZRPcdRfqsfT4hc5/34XO5KmSjVr5lE=; b=bgGdTjrVwNo1bAcvB4Y24KHOl5VW7xFEMU7HrPcSa33D2Uo2NLHDfIqVg2s8sJh5nw maspGSsnMNd2O5R42t6Dh/1OgZJocrPZ6a0SjsbwGOTukZ83LDB74lw9CH6iugTX2dCx QIOkEZ6QKpOc5hdrz2aXH1XcfywCk2IinDA4YOvceR8cnlIKc7nSEZcJocSRJOHqpcb1 yD83cznradKmxFsnIXplmj+ClOILwZwhUq2qM3B9HcAL0catrvbTkb1pK9XfHJYEf8uL PtBWd7qJY0DiO7JnkUv08Fn7WXSHRmO0MUXHKimgfjsAo9riEiQnHgSYdwrnBvKE5A7O BhCw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id p65-v6si6647927wrc.368.2018.09.07.00.27.18; Fri, 07 Sep 2018 00:27:19 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C3AF3325F; Fri, 7 Sep 2018 09:27:17 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id 75BD83256 for ; Fri, 7 Sep 2018 09:27:16 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 00F50200289; Fri, 7 Sep 2018 09:27:16 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 5612B200146; Fri, 7 Sep 2018 09:27:14 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 25BE8402DD; Fri, 7 Sep 2018 15:27:12 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org Cc: john.mcnamara@intel.com Date: Fri, 7 Sep 2018 12:55:19 +0530 Message-Id: <1536305122-23322-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535614772-20886-1-git-send-email-hemant.agrawal@nxp.com> References: <1535614772-20886-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v2 1/4] doc: create a platorm specific page for NXP DPAA platform X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Hemant Agrawal --- doc/guides/platform/dpaa.rst | 100 ++++++++++++++++++++++++++++++++++++++++++ doc/guides/platform/index.rst | 1 + 2 files changed, 101 insertions(+) create mode 100644 doc/guides/platform/dpaa.rst -- 2.7.4 diff --git a/doc/guides/platform/dpaa.rst b/doc/guides/platform/dpaa.rst new file mode 100644 index 0000000..c065df0 --- /dev/null +++ b/doc/guides/platform/dpaa.rst @@ -0,0 +1,100 @@ +.. SPDX-License-Identifier: BSD-3-Clause + Copyright 2018 NXP + +NXP QorIQ DPAA Board Support Package +==================================== + +This doc has information about steps to setup QorIq dpaa +based layerscape platform and information about common offload +hw block drivers of **NXP QorIQ DPAA** SoC family. + +Supported DPAA SoCs +-------------------- + +* LS1046A/LS1026A +* LS1043A/LS1023A + +More information about SoC can be found at `NXP Official Website +`_. + + +Common Offload HW Block Drivers +------------------------------- + +1. **Nics Driver** + See :doc:`../nics/dpaa` for NXP dpaa nic driver information. + +2. **Cryptodev Driver** + See :doc:`../cryptodevs/dpaa_sec` for NXP dpaa cryptodev driver information. + +3. **Eventdev Driver** + See :doc:`../eventdevs/dpaa` for NXP dpaa eventdev driver information. + + +Steps To Setup Platform +----------------------- + +There are four main pre-requisities for executing DPAA PMD on a DPAA +compatible board: + +1. **ARM 64 Tool Chain** + + For example, the `*aarch64* Linaro Toolchain `_. + +2. **Linux Kernel** + + It can be obtained from `NXP's Github hosting `_. + +3. **Rootfile system** + + Any *aarch64* supporting filesystem can be used. For example, + Ubuntu 16.04 LTS (Xenial) or 18.04 (Bionic) userland which can be obtained + from `here + `_. + +4. **FMC Tool** + + Before any DPDK application can be executed, the Frame Manager Configuration + Tool (FMC) need to be executed to set the configurations of the queues. This + includes the queue state, RSS and other policies. + This tool can be obtained from `NXP (Freescale) Public Git Repository `_. + + This tool needs configuration files which are available in the + :ref:`DPDK Extra Scripts `, described below for DPDK usages. + +As an alternative method, DPAA PMD can also be executed using images provided +as part of SDK from NXP. The SDK includes all the above prerequisites necessary +to bring up a DPAA board. + +The following dependencies are not part of DPDK and must be installed +separately: + +- **NXP Linux SDK** + + NXP Linux software development kit (SDK) includes support for family + of QorIQ® ARM-Architecture-based system on chip (SoC) processors + and corresponding boards. + + It includes the Linux board support packages (BSPs) for NXP SoCs, + a fully operational tool chain, kernel and board specific modules. + + SDK and related information can be obtained from: `NXP QorIQ SDK `_. + + +.. _extra_scripts: + +- **DPDK Extra Scripts** + + DPAA based resources can be configured easily with the help of ready scripts + as provided in the DPDK Extra repository. + + `DPDK Extras Scripts `_. + +Currently supported by DPDK: + +- NXP SDK **2.0+** (preferred: LSDK 18.09). +- Supported architectures: **arm64 LE**. + +- Follow the DPDK :ref:`Getting Started Guide for Linux ` + to setup the basic DPDK environment. diff --git a/doc/guides/platform/index.rst b/doc/guides/platform/index.rst index ca6113d..fc7c6d4 100644 --- a/doc/guides/platform/index.rst +++ b/doc/guides/platform/index.rst @@ -10,4 +10,5 @@ The following are platform specific guides and setup information. :maxdepth: 2 :numbered: + dpaa octeontx