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: 89675 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1200060vqo; Wed, 3 May 2023 02:52:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7bku/bqp/3rdtxeltz+fu6Z98sBAl4viNU6i7nu/9nZpCncsRygbG+Gb35MyRYXFzkq5bn X-Received: by 2002:a05:6a00:178e:b0:643:59cd:6cad with SMTP id s14-20020a056a00178e00b0064359cd6cadmr108314pfg.24.1683107527192; Wed, 03 May 2023 02:52:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683107527; cv=none; d=google.com; s=arc-20160816; b=SC1+lhzbtevGJqRPRWjdMkJeXypkr9B1VDTgh5zUPsAhOO4yIdTHTCLrVqCUm+saUV YS9xqtXlJgb8LkHrBg740fodLTXW0vDXZftMCy1rK822b6GPSn0y5NOSSuLgBm5K33c5 +GvDLCNR82EDDqtF84dkzhjaZKwXvj6p1RmziCfEp/V1oh9nROoEsOVyUC/rjPuESKuT P/a+bPG3D/0OHIUp51BpiDkit+EJ01DqdirujBiBgmI79gaPFaNGapDxlPnv6nJhBYyo gHy2U6xK7Mh+Yqj1BVSzJ8Gu64A4pjuiX3uGmG4tuM7aFJLgtE6UKUDAiZSQjF2DrBY0 7Q6w== 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=YDPdE1XfunQuIWf3y/jI9wckA1ok4K+KpzHULl9/uio=; b=YX/lOcV0V3TEHwqV39xEeLV09bBt2ssFT+Q33BHRW89Ruqq9xqMDvCDTBdkIWIPKDj UqRd6HWxT4LVTxf3cCkmTz0ITJlGiqDU2xYEGPCLaURts3jCFPCetTbEANO9xzLyhyem ZXAo5L7AdJlnIDGjp9DLDJ70MQExoC5V3khiXoDXQu3qCQDusuziB5E7eKj3MePB2Fe8 w6mt+CN0A6tJCqGSpSJheF8CKi6Isg7H08STGZO/Dn1wWCBanFsWlP5my4wvTxplLC/d eX0WyPlJE09qfVDJeYMrwLywdoe9ovuzDjoAt4CM7PqOTFm2ZembLQ1auK8/pn8icD7O 4u7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="HL/GfVZ1"; 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 q4-20020a634304000000b00524b2358ffcsi32167107pga.574.2023.05.03.02.51.54; Wed, 03 May 2023 02:52:07 -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="HL/GfVZ1"; 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 S229972AbjECJne (ORCPT + 99 others); Wed, 3 May 2023 05:43:34 -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-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 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764866158490015073?= X-GMAIL-MSGID: =?utf-8?q?1764866158490015073?= "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: