Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp277378imn; Wed, 27 Jul 2022 06:06:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sIeRDAGXPgXH7pqSGwlrb29CEGmVUjAD+IL5JrGnO1XkXoYmPV7GkMbLX2B6HtfX4I4uDP X-Received: by 2002:a17:906:8475:b0:72b:12c7:effe with SMTP id hx21-20020a170906847500b0072b12c7effemr17679403ejc.337.1658927202890; Wed, 27 Jul 2022 06:06:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658927202; cv=none; d=google.com; s=arc-20160816; b=J8WwTM47vtxSA7pyEuZmg6Jyq/7zY29p3BMhbdKbHFNuaI+X4of5tS0zHXfgzhgKL+ PwWHK9t1pq7Wk1ghx/2t7z1uLMi9kqfsfToAulBEuw39HSSvj/pi9JngDGpq2S4BitAO EGrR0brzmrrgV7wJ4ymGH6iXOImF5MBP16w0hmrZR2MRSMF0xXTnCVgMRuZhUfJvy9RL JHmwCYIKZ5YHdveaaJ9BGD6VhlnAnyRnHUOkkmgvSuclNdp6C/HA/bUSsClhEl5wSuI6 U5+6PR3IslqgGSdahuvQ8e4J/d3VpthdLHb8hZ5AmA3gM7+EY5B847kZwC6iGkynRM/F rnBw== 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=erHrsw6rx2cxfDpAMMFXOYwGx+RlIoQlrWv6VPVmqBU=; b=hNg3uXjUkq+tu/t52y6yfbwyRK9uyEpFPZ+26ObkhjTKyfwBWSkL060B89SxKgB9iS H1ez8CTggNhlViL1hZIO9L3w+sYc1i63W/uDp3pzCNoIgEOum0OhqMjGoP4F9yV7ARIh gaKRqufIdwC+Bxl+jfDN1SmelDu3XmcG2e0shZSyXAIdqCmpxjFniPwuDfwHpLz7Ffz7 KbQk3SUd7XAzMcI5W+76eMkX8hzYAj5TYyAL1HIHpCP5UZqz3YKWowtpYo9nv6L4qyxj T74ylTuMfIOCQQSkHg7jMv4jOHlpS7NOMxOdCIR67BL3akqt0E8R7Cpzt+vPTAKnZ1Jk DZvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b=X4H2JEkX; 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 hd37-20020a17090796a500b00712018edf25si20220982ejc.687.2022.07.27.06.06.16; Wed, 27 Jul 2022 06:06:42 -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=X4H2JEkX; 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 S233168AbiG0McW (ORCPT + 99 others); Wed, 27 Jul 2022 08:32:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233224AbiG0McE (ORCPT ); Wed, 27 Jul 2022 08:32:04 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6B624E874 for ; Wed, 27 Jul 2022 05:31:16 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id d8so23858323wrp.6 for ; Wed, 27 Jul 2022 05:31:16 -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=erHrsw6rx2cxfDpAMMFXOYwGx+RlIoQlrWv6VPVmqBU=; b=X4H2JEkXIQu3OQs6tWn6bmgy4abRbCGKqwr0by640V4rrKsqjeBGPm+9LapHJh++la caZ/PlWKaU03cxkIL8jgtKTTVgtHtVEksTzmDATeIK5LQFzF47B+tUsn4V7lfqNcfzZ5 hXqpe9A6T7++B0E90IOQ2b/iIWf0HQYYDznWZXpr66t4opRQiOZTzfX9ycveVY79yBuy /TNrXpYzJikxH7Xi5sgOnl51E8VAkSNCKVunHMpPuODAcul5c44prgRD/v4xhyUwVD+H MzvEChIVgGT7LCJdfbX8hBA9W9dHCAhdx2fNhGGIJ0mMMsqWWPmBXjSe1DdO+wrl7btX 9e+A== 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=erHrsw6rx2cxfDpAMMFXOYwGx+RlIoQlrWv6VPVmqBU=; b=ZL4tk00zQhh0CZpuAzm8Q8Y7+IBx4JhQi7tNX/Rt2T7VTSuzxFkpAbICgA4wVVHYeP etLiIhAeXI7sRpmQoIv6mrARqPLHJNeGJjJDVdcQMHJ3vRjM786LNu2g9bpC82p2mEAW 5Jn+awgM81ImsKZwjE8vA+5u9cJhareAKGy/PbQU0yoA1G8D9ttTra36EcJjq0rI7FfM 7N57JgVsUX18v1we0h5N+xS1xyzrNXpVwBgKHEPU8NaQazRS+5LjaYhxs8trVmFPXufI YI1xe4wIhCTrkQUmHpyngxokMVNbaX4Xn44ZrvczeodYGr1axhVoUOQr27/KfU0dUF4D TdWA== X-Gm-Message-State: AJIora9oo5ZsHI6f1ZBpDtZir8uigplpRaa7f9tDqBqUN6iG49cNI85X 1TsQX/1kYyDWO8eXp5+Ldoby2w== X-Received: by 2002:a05:6000:2aa:b0:21d:ac4b:95af with SMTP id l10-20020a05600002aa00b0021dac4b95afmr13898546wry.479.1658925070708; Wed, 27 Jul 2022 05:31:10 -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 s2-20020a5d6a82000000b0021eb70e5edbsm3184388wru.97.2022.07.27.05.31.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 05:31:09 -0700 (PDT) Date: Wed, 27 Jul 2022 14:31:08 +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 v8 1/2] devlink: introduce framework for selftests Message-ID: References: <20220727092035.35938-1-vikas.gupta@broadcom.com> <20220727092035.35938-2-vikas.gupta@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220727092035.35938-2-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 11:20:34AM CEST, vikas.gupta@broadcom.com wrote: >Add a framework for running selftests. >Framework exposes devlink commands and test suite(s) to the user >to execute and query the supported tests by the driver. > >Below are new entries in devlink_nl_ops >devlink_nl_cmd_selftests_show_doit/dumpit: To query the supported >selftests by the drivers. >devlink_nl_cmd_selftests_run: To execute selftests. Users can >provide a test mask for executing group tests or standalone tests. > >Documentation/networking/devlink/ path is already part of MAINTAINERS & >the new files come under this path. Hence no update needed to the >MAINTAINERS > >Signed-off-by: Vikas Gupta Reviewed-by: Jiri Pirko