From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E50EDA034F for ; Thu, 25 Feb 2021 12:46:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B1C4C40692; Thu, 25 Feb 2021 12:46:44 +0100 (CET) Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by mails.dpdk.org (Postfix) with ESMTP id 1C45740692 for ; Thu, 25 Feb 2021 12:46:43 +0100 (CET) Received: by mail-wr1-f41.google.com with SMTP id u14so4945896wri.3 for ; Thu, 25 Feb 2021 03:46:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EhRh5OHq/IQLzFd9AYOsVSb8AdnDe2Urr1ynvVc07ng=; b=aibp8oeBA29Rb7u90nu3wNKknhFA/nq9sVoJZGDVLop/EldxT3w9i23SBX1ll8NUir P9jzfI/eo6cT5xQGB25GwrX+i6CSwNbySERj0hhVvx9OBWZIilZcCiq8czeLPykTxbZy 35tTcqA0lv0mBbXqh8a/dSYNLc7EXL4hQssoq0wDNOAvse0GPEPpYfTNetganCjC6DWU d8o4vfDKKLdN+3560TDXeGMJ6Vev+l1UK9t3WVpW3ClgP9uOrmeoLvQgpHA4PGD3OIT3 Y9yv+x1sFFbjG1Atk1j1HjVw54rCVlKh7iEPOGnD2304WmBFIsDR6JVdkXOyRDXKl7TB kQkw== 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:mime-version :content-transfer-encoding; bh=EhRh5OHq/IQLzFd9AYOsVSb8AdnDe2Urr1ynvVc07ng=; b=UmQ2ysKT/uqLsQd7Db0t6kMQt9KGXooNklPj/Z22MZQWzDEG409qaIKjw8enDxTfQk zmP0Ke/XWMgQG9lSPejNpsZd0e1Aeyz3glSegsVPw7QfFliEEQtr87BOSr4rS8/XtTic WKQucsFNMu5+5XJ+4t3qJ/OTPZQ69jMlu/X2fSxKDepUYT8NXPPuVjnelV6yW1jgEMT0 oLEbwyyzVmADHJZmnWjaMyx6re3R5nja57jfPLZUSuB+8yS56d19GInSChLMZmc41Jc1 UVMIns6R6ExWIIFvxKt+o7Zgg7gaxwJkIk1aVJzjiYji1WA2HsKlq5VqP7QDHaKOX6HZ 9bhQ== X-Gm-Message-State: AOAM531V2vl4iB+/U+Ijzroe5cmZQXNGaU7oJXuoRrEYFLnnTASccsIx ueMt9xxRI3SwQVU8vCsoMk/l X-Google-Smtp-Source: ABdhPJzaIomg8UmqXHgUVms95dT9vFbC2uxZzJ6gqRgsooVaa9NYBx980UpeNnUTKRySp4svOJDJmw== X-Received: by 2002:a5d:528f:: with SMTP id c15mr3110764wrv.142.1614253602782; Thu, 25 Feb 2021 03:46:42 -0800 (PST) Received: from localhost.localdomain (dsl-197-245-41-251.voxdsl.co.za. [197.245.41.251]) by smtp.gmail.com with ESMTPSA id g11sm7235916wmk.32.2021.02.25.03.46.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Feb 2021 03:46:42 -0800 (PST) From: Heinrich Kuhn To: dev@dpdk.org Cc: "Chaoyong.He" , stable@dpdk.org, Heinrich Kuhn Date: Thu, 25 Feb 2021 13:46:22 +0200 Message-Id: <20210225114622.2431-1-heinrich.kuhn@netronome.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [dpdk-dev] [PATCH] doc: fix nfp multiport syntax X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" From: "Chaoyong.He" 1. Fixup the suffix of the PCI ID to be consistent with the code. 2. Add specification of using MAC address to identify port. Fixes: 979f2bae0 ("doc: improve multiport PF in nfp guide") Cc: stable@dpdk.org Signed-off-by: Chaoyong.He Signed-off-by: Heinrich Kuhn --- doc/guides/nics/nfp.rst | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/doc/guides/nics/nfp.rst b/doc/guides/nics/nfp.rst index fef99973b..2b170539d 100644 --- a/doc/guides/nics/nfp.rst +++ b/doc/guides/nics/nfp.rst @@ -117,15 +117,19 @@ although once they are created, DPDK apps should be able to use them as normal PCI ports. NFP ports belonging to same PF can be seen inside PMD initialization with a -suffix added to the PCI ID: wwww:xx:yy.z_port_n. For example, a PF with PCI ID +suffix added to the PCI ID: wwww:xx:yy.z_portn. For example, a PF with PCI ID 0000:03:00.0 and four ports is seen by the PMD code as: .. code-block:: console - 0000:03:00.0_port_0 - 0000:03:00.0_port_1 - 0000:03:00.0_port_2 - 0000:03:00.0_port_3 + 0000:03:00.0_port0 + 0000:03:00.0_port1 + 0000:03:00.0_port2 + 0000:03:00.0_port3 + +Some dpdk applications can choose to use the MAC address to identify ports, +OVS-DPDK is one such example, please refer to: +https://docs.openvswitch.org/en/latest/howto/dpdk/ .. Note:: -- 2.30.0