From patchwork Wed May 3 09:42:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bagas Sanjaya X-Patchwork-Id: 13229979 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36DA5C77B7F for ; Wed, 3 May 2023 09:43:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229964AbjECJnd (ORCPT ); Wed, 3 May 2023 05:43:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229721AbjECJn3 (ORCPT ); Wed, 3 May 2023 05:43:29 -0400 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B48444EEA; Wed, 3 May 2023 02:43:09 -0700 (PDT) Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-643557840e4so125396b3a.2; Wed, 03 May 2023 02:43:09 -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=YDPdE1XfunQuIWf3y/jI9wckA1ok4K+KpzHULl9/uio=; b=HL/GfVZ1j0oM8h89CjN4LkrI5tvOMRtAg/+7+kXwp1OWEq8ugwhTv/zxOsUSPPsz1J 0sRhx2D1DKB+BswYH9qJxd/DDgsbyZXHlQgWN7oLD79MkxoI032udyTMzkBrgtrB6o50 gd9ZZaz9OpLG3gWTbkkXn+31f1GTXo0nrHxp31RVvPR7MvciYHYJrJ8EVEpSCxf/zFKl W/q8aUN7NG/0zL62+N6TZWSlFSnFBjwAian6Bg/xj7WgG54+5KFJ6U6Wzw6+6whxMRCR 6K9K31f3eWQDumMdikCjGk+wC4KZ1jcG7y8XkXZWlFLqnIsiyXXQvhDtCnOKqEoND7eg b/wQ== 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=YDPdE1XfunQuIWf3y/jI9wckA1ok4K+KpzHULl9/uio=; b=K2mnyg49GZS1D2ngYoTZI+PBdjcgh8r3gEuqnvs597mK8iEuoQ/o2Pi3vvYITYqhgX wiGg/vVpWJWA2IC+4L0IKzeg0pgzm1yZuDvsbDIby+6G2DZLcuOWYAyr72g7MdOpNUqO NICKnEERgM9U9EXeMkK3imfb+EOxKu1o3OTxJL1n5FoRHy/NfNT+mEk1rGt+X9DPEhoU IEGfyypDS9GK5+SCsHFvL4OI6ReJk1PfoHRBQArsUp5j2wDFYdUMXNbVACHKVbGHUBGp TmIUlwjydSFsUVQ6nYqPpzK43wGBIX/FKm0uNaXBGxehbpSL8e5SmsoSHtxvLl+7LUm8 9K0g== X-Gm-Message-State: AC+VfDw9IHvaGWRetdgBacWFrEOYgLAFLDu3mKzp7qO6MAIwcAoKECih qCDr+czY9iJe8kb5aX18kKM= X-Google-Smtp-Source: ACHHUZ6xRNyfm7gpGVKaUHMZJ7cSmuq4Z8ooUCKyV4KAI7QHB/0nJ6BiXsACOMDXzMYCIJ7kwjsjxg== X-Received: by 2002:a05:6a00:2d1b:b0:63b:854c:e0f6 with SMTP id fa27-20020a056a002d1b00b0063b854ce0f6mr30151178pfb.21.1683106989056; 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 g10-20020a62f94a000000b00640df8c536csm16903809pfm.12.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 0857D10624F; Wed, 3 May 2023 16:43:04 +0700 (WIB) From: Bagas Sanjaya To: Linux Networking , Linux Random Direct Memory Access , Linux Documentation , Linux Networking Cc: Saeed Mahameed , Leon Romanovsky , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Bagas Sanjaya , Gal Pressman , Tariq Toukan , Maher Sanalla , Rahul Rameshbabu , Moshe Shemesh Subject: [PATCH net 2/4] Documentation: net/mlx5: Use bullet and definition lists for vnic counters description Date: Wed, 3 May 2023 16:42:47 +0700 Message-Id: <20230503094248.28931-3-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=2727; i=bagasdotme@gmail.com; h=from:subject; bh=o+hJBFwjrfn3zz2fGYB3tCdijJYNrT6XMKn3YVD2Ts4=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDClBOtM5w48VX3rWwS4yYemDwhrD01LnNvXGfPVmOW81f eFStoAlHaUsDGJcDLJiiiyTEvmaTu8yErnQvtYRZg4rE8gQBi5OAZjIOTmG/xFlUvv2dh87Pl3n y5rZbyxKWt+pyKTd/h7Oei8lYN/zaWcY/hczM95pvsSxUUrj8v2W9dXsJ7+0Z7GXae0w2cq781W NExMA X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org "vnic reporter" section contains unformatted description for vnic counters, which is rendered as one long paragraph instead of list. Use bullet and definition lists to match other lists. Fixes: b0bc615df488ab ("net/mlx5: Add vnic devlink health reporter to PFs/VFs") Signed-off-by: Bagas Sanjaya Reviewed-by: Leon Romanovsky --- .../ethernet/mellanox/mlx5/devlink.rst | 36 ++++++++++--------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst b/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst index 0f0598caea145f..00687425d8b72d 100644 --- a/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst +++ b/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst @@ -265,22 +265,26 @@ It is responsible for querying the vnic diagnostic counters from fw and displayi them in realtime. Description of the vnic counters: -total_q_under_processor_handle: number of queues in an error state due to -an async error or errored command. -send_queue_priority_update_flow: number of QP/SQ priority/SL update -events. -cq_overrun: number of times CQ entered an error state due to an -overflow. -async_eq_overrun: number of times an EQ mapped to async events was -overrun. -comp_eq_overrun: number of times an EQ mapped to completion events was -overrun. -quota_exceeded_command: number of commands issued and failed due to quota -exceeded. -invalid_command: number of commands issued and failed dues to any reason -other than quota exceeded. -nic_receive_steering_discard: number of packets that completed RX flow -steering but were discarded due to a mismatch in flow table. + +- total_q_under_processor_handle + number of queues in an error state due to + an async error or errored command. +- send_queue_priority_update_flow + number of QP/SQ priority/SL update events. +- cq_overrun + number of times CQ entered an error state due to an overflow. +- async_eq_overrun + number of times an EQ mapped to async events was overrun. + comp_eq_overrun number of times an EQ mapped to completion events was + overrun. +- quota_exceeded_command + number of commands issued and failed due to quota exceeded. +- invalid_command + number of commands issued and failed dues to any reason other than quota + exceeded. +- 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: