Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp337172imn; Thu, 28 Jul 2022 02:05:50 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vLpjU29WNaIEiRHofIb7Z0IWr6HwDdBBdhGS1ECvFbrAxl3BeCJnQnDV0dVIOBq0li4aN8 X-Received: by 2002:a17:907:9706:b0:72b:4b0d:86a2 with SMTP id jg6-20020a170907970600b0072b4b0d86a2mr19579329ejc.242.1658999150260; Thu, 28 Jul 2022 02:05:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658999150; cv=none; d=google.com; s=arc-20160816; b=eaYERxlpiVFO2Sxh9hucaHuysiL9V5vMyrzLKo5UzC7hX3vKoMRDZ2TKNtk0W9lVYk cZi6ZPro7WyptM+sjPHgItxnhZMujR4uDEzo4hwv06OJufYHcei1EpfNOnmejTNXMz4J qYKwk0CkSteQ4YH7NlvB5l0kIlY2W1ZXNjz2pHRNUAts00yR0KXvwVNWkpwbjLEpAadw TmEiKFy+1HmQqhQ1HNGy9b1TDCJRMNAoQusz5RVTyn54kLNkt214wBGbQiB4WrOGUvw8 yERYW16n6l5ySrQTjESVUoZE4KKagdVbHeGPTm+dEN02TaZEHQ3tAIe84ggimIvFdeSo gqlw== 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=FqzBIpco+9REM7U8y6zxhn5MuMhFRGjp1tpsdxTGmUY=; b=eZ8UNZAPVks30zk7uaUqJh/m0HLFW4hZzCaBSe+RJoaiHxsruWh9kOfuIOt5SDT+Fy 1NDNNjZcH0YHXXx7aJl3noFun38SNCK0D81bNhKP8CHh/sIbRidF5GRjM8IDBrNDlplG ePB1ZXsaU0zOd89DY1m6KRtgW6CnTq+UgVfCfI/WspMNtU3uQN+cDYXOBmjIxzAbZlbQ bQG/iHKGRlSQWAJZUJ+BHKP4OI7DUDZUISe8QGYuexFTwYFb6cBXIp7C13cVQS6U1rze cS+NXaliaXt6uKASfaBhusJUJ7qRVEE7vdkevq12CceD63haWAITZsF3AK1A56/skVHU MO3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b=mzGclTVD; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hu8-20020a170907a08800b0072f390774a3si311359ejc.61.2022.07.28.02.05.25; Thu, 28 Jul 2022 02:05:50 -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=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b=mzGclTVD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235103AbiG1Iwq (ORCPT + 99 others); Thu, 28 Jul 2022 04:52:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235038AbiG1Iwn (ORCPT ); Thu, 28 Jul 2022 04:52:43 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4446C65572 for ; Thu, 28 Jul 2022 01:52:40 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id j22so2027136ejs.2 for ; Thu, 28 Jul 2022 01:52:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=FqzBIpco+9REM7U8y6zxhn5MuMhFRGjp1tpsdxTGmUY=; b=mzGclTVD9lpKjBkPUykLcQ+rSqkbUkytAJ+sD2aaFOi7GO+aDgVHOAlQRqL964v6vh uF16IraKaOrLEWpUx54sDlwZuLEqVCxeljxJOJGcieVDfNKmns4I0slukPBZMb+QGGHE 6RMqaaF6kVit3AOYq9Iqrbf+Xo2VZXjUxp33KaOq6eHlDSkeI/cwLAHiLrjDGtS2F54T Icc7qR/puV1KslGo+AsKKHBwUNeFJ4v7qBFHQxvVgUVUgYRtPdFHQSRsBcslSnJje1PL E+nlTuHPvSBuBHoYK9hOlx7m8BbmqTSqhZg+G9w/sdf5fBOSufYDagCYs4ymtbxuGxyo QC7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=FqzBIpco+9REM7U8y6zxhn5MuMhFRGjp1tpsdxTGmUY=; b=NTqGSyH0XW7JYIexLe+dYP//XG143yYNCA0wHsBx8xtcg6Lp1qMzIwQn+5/50iX31e f1BPoZ172P5+hBNmAgJlj73lBncQcNg2BXC+UdsQp9jWdyMWVoCX2sDQ5MF/DHPPyLkP GoJGAmsc11Jhe8SGFHnIboiQa2I9TE6S/r7BGXFU+aBrYfeWANc90nPT8ToCzAeKSwmi TuMgri5UT1Xa9UtQ1tPnSn8L+/BLQo9ccXsCTRaSRCzwBfrcpD+kN5KGAw594vnyq9lJ cqF35VYymzCBeErX9sS0xS3Zx0R61BRnr2F2mMO1lEkPHS0aC0l4RhDx8XMbLzbdurU9 ndVg== X-Gm-Message-State: AJIora+yLvrY1U2y7wFDArAVJc5CeRwzQpWbLv0yZva1o1DEqAaqY5zd OJ/1+Thh7Fhk8fFrfNfZdhE5GQ== X-Received: by 2002:a17:907:a428:b0:72b:6932:2ec7 with SMTP id sg40-20020a170907a42800b0072b69322ec7mr21005469ejc.540.1658998358568; Thu, 28 Jul 2022 01:52:38 -0700 (PDT) Received: from localhost (host-213-179-129-39.customer.m-online.net. [213.179.129.39]) by smtp.gmail.com with ESMTPSA id o21-20020a1709061d5500b007300d771a98sm165637ejh.175.2022.07.28.01.52.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jul 2022 01:52:37 -0700 (PDT) Date: Thu, 28 Jul 2022 10:52:36 +0200 From: Jiri Pirko To: Vikas Gupta Cc: jiri@nvidia.com, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, davem@davemloft.net, dsahern@kernel.org, stephen@networkplumber.org, edumazet@google.com, pabeni@redhat.com, ast@kernel.org, leon@kernel.org, linux-doc@vger.kernel.org, corbet@lwn.net, michael.chan@broadcom.com, andrew.gospodarek@broadcom.com Subject: Re: [PATCH net-next v9 0/2] add framework for selftests in devlink Message-ID: References: <20220727165721.37959-1-vikas.gupta@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220727165721.37959-1-vikas.gupta@broadcom.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Wed, Jul 27, 2022 at 06:57:19PM CEST, vikas.gupta@broadcom.com wrote: >Hi, > This patchset adds support for selftests in the devlink framework. > It adds a callback .selftests_check and .selftests_run in devlink_ops. > User can add test(s) suite which is subsequently passed to the driver > and driver can opt for running particular tests based on its capabilities. > > Patchset adds a flash based test for the bnxt_en driver. > > Suggested commands at user level would be as below: > >changes from: >v8->v9: > Only SOB line fixed in 2/2. If nothing changes in the patches, you should retain the RVB tags from previous version.