[net,1/4] Documentation: net/mlx5: Wrap vnic reporter devlink commands in code blocks
Message ID | 20230503094248.28931-2-bagasdotme@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1202571vqo; Wed, 3 May 2023 02:58:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6KWOiAZbFUpYk2NXNweNEvDG2ebZznmOg0j1nv+g6yfetITB+ZmZugJCaJVvf6DrY59mru X-Received: by 2002:a17:902:c3c1:b0:1aa:dba2:d155 with SMTP id j1-20020a170902c3c100b001aadba2d155mr1577803plj.48.1683107905350; Wed, 03 May 2023 02:58:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683107905; cv=none; d=google.com; s=arc-20160816; b=N4WS91vruSWaGQ5lb3Ccshwcb/htLIJuMLHdQfQKi1BzHzIWjf80ZfVzlQ6sHr9Fue ZX+W9OXC1elGz1XCVWLvhfpCNUUIT/Rr5CF1EnTygkvJ3HJGZc2TAWJxHqbhP1WSqwI8 Z1QnshzNojCvGxwHMbF9foHMXeaTFuT9+X5CIM5Q7PlAbTEmXCE+2L5E71yXcaeibWyZ SxZ9C4RFXsAjbcb2Zy77ZcY9ToHle30Pvd7Q2KuNrhhMNSbCjlNxyoAUn+ejA4yb8b0G 4hZJ1Ukyq5r06LZzuWtJjaNOsYzqGuplGIlocBcX21UAHuRE1ouRSO+qmZkFKi0jx3xC I/wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lf1muhsbXKVkAwjXlKT/F7FUM0glVIhlYmlwBoDu1aY=; b=ISmljU/aPP9EcYQNPkR1Ct9mlN2dK5dg9p7PFdTVtuYJce87CH8HfxVGL//PhoZpJy ljRyhxP6rAsqVcMp+dGNXaREVlMA/E4s45bqC3WWu19ylJfjr8LZyy4DbyqZ7SLHoVDj Fzjg1iYZODAbcqKWJ104ROt2btC8rYl6/N/ahJ4mtV8AwN9Em5c3xvQRIKYw89urWUbk Td0MJ4Rv6/SswSOIg5YDjwxmoMVstBh0F3CC15QFSWK79rjlgWZH8bM46SLZEgM+s6cZ oaTbOhuNRcycaWI746qovo3h4WYY+Mnu/fkX4vcuqIcEV5eDsV7wNoQEiNRe/c8s5caQ Mt2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=YM2916vW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bi8-20020a170902bf0800b001aae63a371esi8356893plb.478.2023.05.03.02.58.12; Wed, 03 May 2023 02:58:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=YM2916vW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229686AbjECJnm (ORCPT <rfc822;heyuhang3455@gmail.com> + 99 others); Wed, 3 May 2023 05:43:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229873AbjECJnb (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 3 May 2023 05:43:31 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F1AA5263; Wed, 3 May 2023 02:43:10 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-24df4ecdb87so2530739a91.0; Wed, 03 May 2023 02:43:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683106989; x=1685698989; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lf1muhsbXKVkAwjXlKT/F7FUM0glVIhlYmlwBoDu1aY=; b=YM2916vWfm7x9AMOkdWOmzG7o1YqSh7s6l13OGUlMKGKTJyEHUVKWOM8ufj9V5kGxG SMyufMgf0+DpWUzDcvkWrZ/H4Itx+Xcwm2u9Jh5Z2iDrVhq+0vnevfZPzuPAfqwDYkph tBQ2mUauBjlpMdfihD3aFsniVPRxhu16sPa35HS/wX3yG/3+lG/jnKSCx4HHDp/Ma5Ad WQHWHtcwWoXShw824+Hx3TQ9GNlX2a6VZgV1Z6WQDGDdu+Zj7cQXrl0YC6tj8dFHLFN+ EGgXcikNnR5N52veoo3UmYAG5+CUK6cmw+Ohkfiafw4mg+nDVOUJmo1vcxiqhwwgthIy CzUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683106989; x=1685698989; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lf1muhsbXKVkAwjXlKT/F7FUM0glVIhlYmlwBoDu1aY=; b=WUbW//fzFsMc0J/GDRZsi+lGI/ckEYZUehzLj1b6rXyUfaCLoA0L9GgIhpwuQhbK7J Iwvd3Bq/vVysp3WHyxsCmovcFAzUvufp8YsPyTQwP+STx+HAmmRaSNTwP6YfZeXyWBgy nbeE3iK9UVaSMuEwISOldoGXenzfxZBx1zsbC5P/qjFD8an8tkAAyS6pme5t8mgn+Tm/ HUgKLQRLkX7AvlOTj/anfkY5j5yvbrXSyFhGB15tmTNfFKuzd42ZH85vSRpk2XImgVB2 UqhJe+ILLwFK3yaJlL3A7RQY+TRrULVmlgjPJVicjDxyl9jOMa06ybm6wLYp+2yCfD95 gYjw== X-Gm-Message-State: AC+VfDwDYtNNNpKwxtreQxGefeXtlG110Ri/G2CvnitDmkz9OLLsUGPe fCTfyAbdUC50o4kMs7u45DM= X-Received: by 2002:a17:90a:7f82:b0:23a:ad68:25a7 with SMTP id m2-20020a17090a7f8200b0023aad6825a7mr20214530pjl.2.1683106989559; Wed, 03 May 2023 02:43:09 -0700 (PDT) Received: from debian.me (subs03-180-214-233-11.three.co.id. [180.214.233.11]) by smtp.gmail.com with ESMTPSA id pf8-20020a17090b1d8800b00247abbb157fsm942966pjb.31.2023.05.03.02.43.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 May 2023 02:43:08 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id A25321055AC; Wed, 3 May 2023 16:43:04 +0700 (WIB) From: Bagas Sanjaya <bagasdotme@gmail.com> To: Linux Networking <netdev@vger.kernel.org>, Linux Random Direct Memory Access <linux-rdma@vger.kernel.org>, Linux Documentation <linux-doc@vger.kernel.org>, Linux Networking <linux-kernel@vger.kernel.org> Cc: Saeed Mahameed <saeedm@nvidia.com>, Leon Romanovsky <leon@kernel.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Jonathan Corbet <corbet@lwn.net>, Bagas Sanjaya <bagasdotme@gmail.com>, Gal Pressman <gal@nvidia.com>, Tariq Toukan <tariqt@nvidia.com>, Maher Sanalla <msanalla@nvidia.com>, Rahul Rameshbabu <rrameshbabu@nvidia.com>, Moshe Shemesh <moshe@nvidia.com> Subject: [PATCH net 1/4] Documentation: net/mlx5: Wrap vnic reporter devlink commands in code blocks Date: Wed, 3 May 2023 16:42:46 +0700 Message-Id: <20230503094248.28931-2-bagasdotme@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230503094248.28931-1-bagasdotme@gmail.com> References: <20230503094248.28931-1-bagasdotme@gmail.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2073; i=bagasdotme@gmail.com; h=from:subject; bh=tMWudNgiUasGarVpCzAepBusDqbWwgKJHD+hWHPr4uY=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDClBOtMEvaW5Txo2aX94pLHw1pwXE+R+/np0NVBwkYSE1 Kzl0w24O0pZGMS4GGTFFFkmJfI1nd5lJHKhfa0jzBxWJpAhDFycAjCRqc4M/2OcC4RdFe7dFnE/ 670zTYTvotamKcni+QFFfydv2HcpUZWRYeexBza9y8Ryz6r/9P2UtIrdNHjR8g2ianyTTFzecl5 I5AQA X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764866555152862560?= X-GMAIL-MSGID: =?utf-8?q?1764866555152862560?= |
Series |
Documentation fixes for Mellanox mlx5 devlink info
|
|
Commit Message
Bagas Sanjaya
May 3, 2023, 9:42 a.m. UTC
Sphinx reports htmldocs warnings:
Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst:287: WARNING: Unexpected indentation.
Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst:288: WARNING: Block quote ends without a blank line; unexpected unindent.
Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst:290: WARNING: Unexpected indentation.
Fix above warnings by wrapping diagnostic devlink commands in "vnic
reporter" section in code blocks to be consistent with other devlink
command snippets.
Fixes: b0bc615df488ab ("net/mlx5: Add vnic devlink health reporter to PFs/VFs")
Fixes: cf14af140a5ad0 ("net/mlx5e: Add vnic devlink health reporter to representors")
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
.../device_drivers/ethernet/mellanox/mlx5/devlink.rst | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Comments
On Wed, May 03, 2023 at 04:42:46PM +0700, Bagas Sanjaya wrote: > Sphinx reports htmldocs warnings: > > Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst:287: WARNING: Unexpected indentation. > Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst:288: WARNING: Block quote ends without a blank line; unexpected unindent. > Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst:290: WARNING: Unexpected indentation. > > Fix above warnings by wrapping diagnostic devlink commands in "vnic > reporter" section in code blocks to be consistent with other devlink > command snippets. > > Fixes: b0bc615df488ab ("net/mlx5: Add vnic devlink health reporter to PFs/VFs") > Fixes: cf14af140a5ad0 ("net/mlx5e: Add vnic devlink health reporter to representors") > Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> > --- > .../device_drivers/ethernet/mellanox/mlx5/devlink.rst | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
diff --git a/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst b/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst index 3a7a714cc08f0a..0f0598caea145f 100644 --- a/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst +++ b/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst @@ -283,10 +283,14 @@ nic_receive_steering_discard: number of packets that completed RX flow steering but were discarded due to a mismatch in flow table. User commands examples: -- Diagnose PF/VF vnic counters + +- Diagnose PF/VF vnic counters:: + $ devlink health diagnose pci/0000:82:00.1 reporter vnic + - Diagnose representor vnic counters (performed by supplying devlink port of the - representor, which can be obtained via devlink port command) + representor, which can be obtained via devlink port command):: + $ devlink health diagnose pci/0000:82:00.1/65537 reporter vnic NOTE: This command can run over all interfaces such as PF/VF and representor ports.