From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by dpdk.org (Postfix) with ESMTP id 107A44F9B for ; Tue, 25 Sep 2018 09:05:25 +0200 (CEST) Received: by mail-lj1-f170.google.com with SMTP id l19-v6so6148140ljb.0 for ; Tue, 25 Sep 2018 00:05:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Pb1QM3WoKO0XDxYYp3UuHsmAdN8YjUREMaw6CI+dY7c=; b=CWc+09LNZRHVzMfpkyTfttbA5M35V/hKTtY9/Vy+1sapqCCe7OKbnrCAqeCVcGJ9IA 3wmr7+na2QrwQrbUTCQwaUwg9m+D20jNP9SU31XTI4zkHqrOg4wOqOeqRFFwS6vuzRZt XFhzheOWb0q57v/Qilw9zC4hPuDZXiO17VGeKPxD/Xh9+cE4BUFZBb9OQtVR+rb/bX1Z IAVDD9EubIW7iM9SzBn5uQBIYUGlArEhxLV9M6ajyzR+EWJYV+V+EpKlPmEPGqQ7Ta2H UUG55+yd7+MMLwQECdyq/aUdNPbKq9/3SglBxCQ6QP7ut3GQtkQI4xUaDPNUdo97CkxJ 6E1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Pb1QM3WoKO0XDxYYp3UuHsmAdN8YjUREMaw6CI+dY7c=; b=OZZGFaIL4Kubnn+IlZJ8FUbFVhPiuPEp96XwfltOsKs6fddyCJUkhrrJ1G4hj8YCvt M9tWvKLMJtpFJZYAI6qkplnRPpdRFGj3jE4ACxy8eLejLex/D67shzeapoZ++QfFjql+ TogqqyP6Q/r54IOl9xEaCm/LgpBVzt16GjLTjUWTePKOAjTAQxSJ5YmDJAYUz5R3kpV2 aG5CLLNyAhgFYd5/MwI506Bi5hiLraHhy8ADOvr1HVSVbilX86KNZe49lfQlPAX9OeEA bvFSrR9oVGMaJHeuL4iW9Qz4twM05ciowfZb3uBUNPCXK7+NhZl9p7TBRfRQUgnu+kOI lwRw== X-Gm-Message-State: ABuFfoiXHUV2svJUYmYWtsl3Tmo6VcYuRxfLrEvubNhoN34OXtCctdip QXnyg2To0wQ2HxLNRICRdwr5IIdvo8AcTg== X-Google-Smtp-Source: ACcGV61+0IQpuiva2mgw5a3vXSU5yzreL89vxXQx9jzPonhGIvx8wzvbW1szLE7n0zINosfu5IDclA== X-Received: by 2002:a2e:574f:: with SMTP id r15-v6mr1484547ljd.106.1537859124434; Tue, 25 Sep 2018 00:05:24 -0700 (PDT) Received: from amok.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.googlemail.com with ESMTPSA id 24-v6sm238306ljb.76.2018.09.25.00.05.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Sep 2018 00:05:23 -0700 (PDT) From: Andrzej Ostruszka To: dev@dpdk.org Cc: mw@semihalf.com, nadavh@marvell.com, Natalie Samsonov Date: Tue, 25 Sep 2018 09:05:07 +0200 Message-Id: <1537859109-25659-12-git-send-email-amo@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1537859109-25659-1-git-send-email-amo@semihalf.com> References: <1536068953-9352-1-git-send-email-tdu@semihalf.com> <1537859109-25659-1-git-send-email-amo@semihalf.com> Subject: [dpdk-dev] [PATCH v3 11/13] net/mvpp2: align documentation with MUSDK 18.09 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: , X-List-Received-Date: Tue, 25 Sep 2018 07:05:25 -0000 From: Natalie Samsonov Update documentation to align with MUSDK 18.09. Signed-off-by: Natalie Samsonov --- doc/guides/nics/mvpp2.rst | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/doc/guides/nics/mvpp2.rst b/doc/guides/nics/mvpp2.rst index a452c8a..3b3f8c6 100644 --- a/doc/guides/nics/mvpp2.rst +++ b/doc/guides/nics/mvpp2.rst @@ -74,6 +74,7 @@ Features of the MVPP2 PMD are: - QoS - RX flow control - TX queue start/stop +- Scattered TX frames Limitations @@ -96,19 +97,19 @@ Prerequisites .. code-block:: console - git clone https://github.com/MarvellEmbeddedProcessors/linux-marvell.git -b linux-4.4.52-armada-17.10 + git clone https://github.com/MarvellEmbeddedProcessors/linux-marvell.git -b linux-4.4.120-armada-18.09 - Out of tree `mvpp2x_sysfs` kernel module sources .. code-block:: console - git clone https://github.com/MarvellEmbeddedProcessors/mvpp2x-marvell.git -b mvpp2x-armada-17.10 + git clone https://github.com/MarvellEmbeddedProcessors/mvpp2x-marvell.git -b mvpp2x-armada-18.09 - MUSDK (Marvell User-Space SDK) sources .. code-block:: console - git clone https://github.com/MarvellEmbeddedProcessors/musdk-marvell.git -b musdk-armada-17.10 + git clone https://github.com/MarvellEmbeddedProcessors/musdk-marvell.git -b musdk-armada-18.09 MUSDK is a light-weight library that provides direct access to Marvell's PPv2 (Packet Processor v2). Alternatively prebuilt MUSDK library can be @@ -119,12 +120,6 @@ Prerequisites To get better understanding of the library one can consult documentation available in the ``doc`` top level directory of the MUSDK sources. - MUSDK must be configured with the following features: - - .. code-block:: console - - --enable-bpool-dma=64 - - DPDK environment Follow the DPDK :ref:`Getting Started Guide for Linux ` to setup @@ -140,6 +135,9 @@ The following options can be modified in the ``config`` file. Toggle compilation of the librte mvpp2 driver. + .. Note:: + + When MVPP2 PMD is enabled ``CONFIG_RTE_LIBRTE_MVNETA_PMD`` must be disabled QoS Configuration ----------------- @@ -314,7 +312,7 @@ Driver needs precompiled MUSDK library during compilation. export CROSS_COMPILE=/bin/aarch64-linux-gnu- ./bootstrap - ./configure --host=aarch64-linux-gnu --enable-bpool-dma=64 + ./configure --host=aarch64-linux-gnu make install MUSDK will be installed to `usr/local` under current directory. @@ -328,7 +326,8 @@ the path to the MUSDK installation directory needs to be exported. export LIBMUSDK_PATH=/usr/local export CROSS=aarch64-linux-gnu- make config T=arm64-armv8a-linuxapp-gcc - sed -ri 's,(MVPP2_PMD=)n,\1y,' build/.config + sed -i "s/MVNETA_PMD=y/MVNETA_PMD=n/" build/.config + sed -i "s/MVPP2_PMD=n/MVPP2_PMD=y/" build/.config make Flow API @@ -500,15 +499,14 @@ Usage Example ------------- MVPP2 PMD requires extra out of tree kernel modules to function properly. -`musdk_uio` and `mv_pp_uio` sources are part of the MUSDK. Please consult +`musdk_cma` sources are part of the MUSDK. Please consult ``doc/musdk_get_started.txt`` for the detailed build instructions. For `mvpp2x_sysfs` please consult ``Documentation/pp22_sysfs.txt`` for the detailed build instructions. .. code-block:: console - insmod musdk_uio.ko - insmod mv_pp_uio.ko + insmod musdk_cma.ko insmod mvpp2x_sysfs.ko Additionally interfaces used by DPDK application need to be put up: -- 2.7.4