From patchwork Thu Jan 17 11:39:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rami Rosen X-Patchwork-Id: 49910 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B6006DE3; Thu, 17 Jan 2019 12:39:34 +0100 (CET) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id 74C909E4; Thu, 17 Jan 2019 12:39:33 +0100 (CET) Received: by mail-wr1-f66.google.com with SMTP id q18so10601241wrx.9; Thu, 17 Jan 2019 03:39:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=SoNV5d0yu0Ykk2rtax4hLiNVvoVwRKdifa1JCpS3m+g=; b=QDnQQn307YbJgchPxGRr7OXrd0zoBWTIUrPCbIA7r0QDqPr3jjdoxG8qVScuG4tb96 kaXaVPQbAKjBgLl38CTVq0mABS4vVM8aKjB22uTy9vMSWmv6UGE9hHpOtMafePdQbOR/ EGhUswIdOl8O1LVqIewWCAfkCnZnTXfVLlba4bXZFjH4NZMHSb9t98A1bYJ3/48thSa3 seBUo8UyNuAbw6N0DigpejMYvkGbh1lTucbBbSCTpN8qXwEKYjCF+L7XCPCDNPsFOXKM /Zc2nIail6ptUnFciluzJJlN9VdVXaFBRlXaSNr0j0Pqw3FICn+zHUGFiPt6axX7FL3y PmKg== 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; bh=SoNV5d0yu0Ykk2rtax4hLiNVvoVwRKdifa1JCpS3m+g=; b=mAoAMxhNKMQCWyRpSYAUUfma84X5Co4rAr6965ObKS6vOdP+KoGHhSB/Gz/Wy1eONa g7S4rUtmH2825MtJjblInzl+d/AYjm8T1lPR3+aqGMxktAJOgTDGD/xZN9YzHmPJErKF sLrZK7QrXdaFT2qzhe5GK7Vaz8p5RnL63Mr4rsigig5uNQrxfrZWtMs1V3ryayE90UU7 bUqboSlQb0DOh4l+pdFjonYKMbXmuhH4adD/pXXvzQt79CFpmcX+EUYt3xs6FhChJP4k yjgWnMFu56gXIDFRTRrhNiP7jvrHF8esHha/VFpIOkGDCQCJaMDew+Npqn5xbG7U4Zyf NCtg== X-Gm-Message-State: AJcUukcg0Xh224Lj5dlXSJQrbxQuBfz0cGyMgWqyhYdt8dneu7wBK46O TxxwFd0nNOo3W+Qds1nR0i6VHhRL8wE= X-Google-Smtp-Source: ALg8bN6K99z9TXMFdnjgyHZySWso+RHbga3Fw6+/59ncZhMWp7n29vjuJcLN6LPruWTlNDQVoGsk/w== X-Received: by 2002:adf:a14d:: with SMTP id r13mr11203437wrr.169.1547725172965; Thu, 17 Jan 2019 03:39:32 -0800 (PST) Received: from herc.netio.cloud ([212.199.245.54]) by smtp.gmail.com with ESMTPSA id o81sm64632380wmd.10.2019.01.17.03.39.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Jan 2019 03:39:32 -0800 (PST) From: Rami Rosen To: dev@dpdk.org Cc: stable@dpdk.org, john.mcnamara@intel.com, bernard.iremonger@intel.com, Rami Rosen Date: Thu, 17 Jan 2019 13:39:26 +0200 Message-Id: <1547725166-15070-1-git-send-email-ramirose@gmail.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH V2] doc: add missing loopback option in testpmd guide 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" This patch adds a missing topology "loop" mode for port-topology option in testpmd guide. The testpmd "loop" option (PORT_TOPOLOGY_LOOP) was added to testpmd parameter port-topology back in 2014, but it seems that it was never added to the testpmd guide. This patch adds it in the testpmd guide. v2: Change "loopback" to "loop" (following Bernard review) Fixes: 3e2006d6186c ("app/testpmd: add loopback topology") Cc: stable@dpdk.org Signed-off-by: Rami Rosen Acked-by: Bernard Iremonger --- doc/guides/testpmd_app_ug/run_app.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst index f717bd3..ee51b1d 100644 --- a/doc/guides/testpmd_app_ug/run_app.rst +++ b/doc/guides/testpmd_app_ug/run_app.rst @@ -196,7 +196,7 @@ The commandline options are: * ``--port-topology=mode`` - Set port topology, where mode is ``paired`` (the default) or ``chained``. + Set port topology, where mode is ``paired`` (the default), ``chained`` or ``loop``. In ``paired`` mode, the forwarding is between pairs of ports, for example: (0,1), (2,3), (4,5). @@ -204,6 +204,8 @@ The commandline options are: The ordering of the ports can be changed using the portlist testpmd runtime function. + In ``loop`` mode, ingress traffic is simply transmitted back on the same interface. + * ``--forward-mode=mode`` Set the forwarding mode where ``mode`` is one of the following::