Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2023111pxb; Sat, 21 Nov 2020 06:17:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJwbqA5ObYNXRnBsBC+Z3186uI5r/MhCI9I27OJpb8Ca9TLlRAQSNvC3iSN8QBgDAd4eBVuD X-Received: by 2002:aa7:c313:: with SMTP id l19mr41310126edq.293.1605968237250; Sat, 21 Nov 2020 06:17:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605968237; cv=none; d=google.com; s=arc-20160816; b=hlXyTW10WooF2TOu/ezlG3hRKX3s6RHWRu7CzMKWVR0rgk3UBOUPoaOv5zio75Obbm puC2oEq6o6SVH3bIKLAMlVgIabnxRs0njgOlj53VIFU3HzFIF3G1AerUPJHmyFEAoJcI jVzm6ZyHeqXi4uAN7sO8ZKSGUbvhuloy4vA/tKvEo2LMh+evsjnwyIh2Jo8pYfa/7X7k lnZ759xmPAy7LmjS4gRi2Nlz3D3imxcHAyZE9J9axH9irCsXDFp0/a6pZo73353UCeq7 4wGnK2wiq2XzoTvsl+dqwsPJU49PDDUksjmqVcRQ+bohyS6cH4saEQu4hcbNHaQAITj0 wwGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=IWYFKF/mJ+HUJoPCxsHdk7pAqaDwieEIuOGknNJBkGE=; b=GY7etgzEpKijLA4IsrsH8Q6+2d2IBk90LgQE2WNi5M86BbqBltTdSNumIxMYeg6BRC Ils0XZo7VjIPkgeX+wBtlXczm2x8V1lUxa0sLbihslHrXJ92/M4Sgon6n9tRTt7y+7Dn QcdVKT/4l2jH5yNUlgmlXf33oF29JooVWu+JYwvNzzJwuTxlA8NdiZ6Ax6KwPMlYcV+r M2BNiQmCzjq7rf9Nz3yryrf3J3FJJI/TXNguTGVpzh9nzd4s8ipqrC6Wa1MYVgl0AVJT 0YdMoT5ooUuguyIlXMhnsNNHVW0NBexEVdoS5m5uLpMvMwXmrmyIzIcq5R6ydN1wrdi2 6Ubw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=T5kzv0Dq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ot12si3259020ejb.239.2020.11.21.06.16.54; Sat, 21 Nov 2020 06:17:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=T5kzv0Dq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728034AbgKUOOE (ORCPT + 99 others); Sat, 21 Nov 2020 09:14:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727974AbgKUOOC (ORCPT ); Sat, 21 Nov 2020 09:14:02 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18066C0613CF for ; Sat, 21 Nov 2020 06:14:02 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id a3so13086076wmb.5 for ; Sat, 21 Nov 2020 06:14:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=IWYFKF/mJ+HUJoPCxsHdk7pAqaDwieEIuOGknNJBkGE=; b=T5kzv0DqSCFOItJlu9zICD7Mvo71KO8n2HK1FPPMevYCRmL3oFyxfWBoQ3uWLUti+f zYUc6sMQvjXZKlrZZaB9hJ+tEX3Fs3JzeqzfxAZEjoJ+duUlL4VOUM79R50TS4F8OGSa WWkDEMixMKiqwkbvRco+h5W+IMoW7hTI6XLM4Bt/hN7i1Fr6GGH7w4Jq+2k5KkkI78w6 8YlFJgB3ZTJW6RjkWOwmJETzneES9a1ANCaykUz4nXsYEVfRNk5AYgzSmClfaUK5ebpu IO9NGeO5y06M+Tn+kyVwGen8IJRqa+E8qrcIJOLvXZjZEnxHO0kbNFII5yHeZCB+QUXO zKnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=IWYFKF/mJ+HUJoPCxsHdk7pAqaDwieEIuOGknNJBkGE=; b=WO8P9fE9AUwXlEJruDanI9jBWg9cs+kgMpe+hB3EIl4KJmdPDo7MnLfhtwVV6YDpcL jpamS/uefTuy4M2HqTlxgoPzrXzaqFsf3TfaID5reGuSGVyZ9+5NEw3iDjmtjld8gKSV N7oS2a4nXwRBQIHvayRZ0MMLWt5jhNaELusxQfycPqyWVpysZ0yHM2V/iFnAp7CU+meW Kn8/M7AFNR6m116X50V3pYC4K/EMjzniv8gRgmLFidKrZTDIY94BraAtRJ5dhqUaT86T FSGSOb5mlKo2fCcG0E3Aj09aYe+4Loq3MpzN04dhq9dVchZqbug5KdGN1pHqRzAqI9aL S46A== X-Gm-Message-State: AOAM533plJSCtQBgGJAq1ysrBTeK1yYTZaCaA+dcBp/twTZaoPTuFndx wowF200D296U8We1BjQx6kYBOA== X-Received: by 2002:a1c:99d3:: with SMTP id b202mr14764169wme.0.1605968040759; Sat, 21 Nov 2020 06:14:00 -0800 (PST) Received: from localhost ([86.61.181.4]) by smtp.gmail.com with ESMTPSA id q1sm1519818wrj.8.2020.11.21.06.13.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Nov 2020 06:14:00 -0800 (PST) Date: Sat, 21 Nov 2020 15:13:59 +0100 From: Jiri Pirko To: George Cherian Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kuba@kernel.org, davem@davemloft.net, sgoutham@marvell.com, lcherian@marvell.com, gakula@marvell.com, masahiroy@kernel.org, willemdebruijn.kernel@gmail.com, saeed@kernel.org Subject: Re: [PATCHv4 net-next 2/3] octeontx2-af: Add devlink health reporters for NPA Message-ID: <20201121141359.GE3055@nanopsycho.orion> References: <20201121040201.3171542-1-george.cherian@marvell.com> <20201121040201.3171542-3-george.cherian@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201121040201.3171542-3-george.cherian@marvell.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sat, Nov 21, 2020 at 05:02:00AM CET, george.cherian@marvell.com wrote: >Add health reporters for RVU NPA block. >NPA Health reporters handle following HW event groups > - GENERAL events > - ERROR events > - RAS events > - RVU event >An event counter per event is maintained in SW. > >Output: > # devlink health > pci/0002:01:00.0: > reporter npa > state healthy error 0 recover 0 > # devlink health dump show pci/0002:01:00.0 reporter npa > NPA_AF_GENERAL: > Unmap PF Error: 0 > Free Disabled for NIX0 RX: 0 > Free Disabled for NIX0 TX: 0 > Free Disabled for NIX1 RX: 0 > Free Disabled for NIX1 TX: 0 This is for 2 ports if I'm not mistaken. Then you need to have this reporter per-port. Register ports and have reporter for each. NAK.