From patchwork Thu Feb 25 11:46:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Kuhn X-Patchwork-Id: 88218 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8EFDAA034F; Thu, 25 Feb 2021 12:46:45 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DB4CC160808; Thu, 25 Feb 2021 12:46:44 +0100 (CET) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by mails.dpdk.org (Postfix) with ESMTP id 3B215406B4 for ; Thu, 25 Feb 2021 12:46:43 +0100 (CET) Received: by mail-wr1-f49.google.com with SMTP id e10so4710707wro.12 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=cc+VaDwmqHFEYVc65nnVBDuyx5mzJsisgqtuSBwsJnlZLNmb0dH+b/0Wc1qf06LJ/R wi8Tza0HE18GdMgWpmtMrQzPaDzg/rBaYcd9pPFzdvDOJY1G4+mmlZlJ/nYk/ORYfHVW OagScdPJOAWUj3uXbQXqG/mNtopjyQMySPrgoz5liBjH9IJBMJiBP1z0TbxUyxnmRK7H DjanDrs7V3F6n2gEm00lwc73bEG40c6dY4CXFizEwnufc+PagrWboVJs+RYHbAfHcnLq lKPLdgXMcq7UQHDxeeZSPWMaYA1YUy5w24Zyf6mZpoqNzjovQJRJrrqp9iSyk5RuLIYg CAVg== X-Gm-Message-State: AOAM532xkxtVFp7efXLKtYzHlVW4SpkJxrWvNDtfV54ONLnL4E/yCuFY LtdxgRhOj+C7pJsoocv+br6lQx6TVlA6+36Mrd168CmCraI/Xu+rP1b5tII72oYzqAlq/p3pYlj EBxTmoeyX4pDyrq2lWv0CVms5Zd8IM2j5sM3MaM7Zmv1SshFbX9MAN6eNF/m7fkB6MGQ= 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 Subject: [dpdk-dev] [PATCH] doc: fix nfp multiport syntax X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" 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::