Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp336285imn; Thu, 28 Jul 2022 02:04:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uQa9s7JSl5ausfwuDxQbOszQhf2s3IrsRPcc5yhC095D3/QqLm9JS3VMaJxHIkY1ojJIfb X-Received: by 2002:a17:907:1c0c:b0:72e:e206:bfed with SMTP id nc12-20020a1709071c0c00b0072ee206bfedmr19223042ejc.682.1658999041434; Thu, 28 Jul 2022 02:04:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658999041; cv=none; d=google.com; s=arc-20160816; b=mecrowCZijZePUUwFs3TNfnU+MYGkivqDrmNzFVxqL0aiin0R7sX/ekOLrEbSQYVbm iGfHZ1WcyOz54VC2op2P/vswZ82VGBV90fvj240CUacsF2kcS829sLOFv2VISOvKeImR 3LXUEQo8TZmu+M+hlUubYouDEZff6x8781foPOQM6SqGjBhJ1HACaniC3RUqwUaYKuhF Ptk1J4SlxMxnktWI2l1KU2/ZjvsvDsn6Lkb/J9Y+Jz6GqKHr1zg/Mj8w+qtz1BF45FWy lZZ/KLAmSrANqepA499z4J+2qjiX2yKLEFdl7UR2RX8CufI28X3+6nSCsfU8f9ecNyOb gJ1w== 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=YD6NPTofpdb/OrV3lCoLvgZH39SrPlv9LDKkq27yBCM=; b=YjBo7zXOoXRX7GaNgrIJfLbqUYBMnWqT6KFrmvHGKdm+YmA/fKozKUPlIyENTJJHh1 I7dGc6dtcn+11skj39qG8wbxHyykQjGlWOMthxIK5Zvq5JNjCUXm9LI6dJYG0XztZmnG x0Y22kJrSId9+y91b8l9entHJnJKJ4ddwWwiuKKrqTqDP1hsfIhz3PLDiOC1GY21MQkV sNzK9foGIoevCGY6COlmOulGGE7y6KoC0VFbhoDN+SllnupaHrAQe3wqNt2qIKVX9xsR MvmlBFvbD1PLmtYxdO9RNI/+M1ZdXYKO79SCA8p4RScUtg4x92QdfxhUHSbwJ1+SNY2q LAFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b=oIGxfaWc; 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 f14-20020a1709067f8e00b006fe95bb93b3si218086ejr.861.2022.07.28.02.03.34; Thu, 28 Jul 2022 02:04:01 -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=oIGxfaWc; 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 S235246AbiG1IxH (ORCPT + 99 others); Thu, 28 Jul 2022 04:53:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235116AbiG1Iw4 (ORCPT ); Thu, 28 Jul 2022 04:52:56 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 565816559B for ; Thu, 28 Jul 2022 01:52:55 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id z15so1302581edc.7 for ; Thu, 28 Jul 2022 01:52:55 -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=YD6NPTofpdb/OrV3lCoLvgZH39SrPlv9LDKkq27yBCM=; b=oIGxfaWcIK+hri1iHnKvFAesDsOuKPk0Myl06X68CL93PRk2wQPtuG9zPOvIUx15Eh hqu0jwxKwXrrTZS9bj2jbk68OjG29FixhiqoJx88mykK9fDbu3xYoPY15znFaa17EzGw mhZZZ2JOUHpjPI8Ci5PMSCOru8HFIRHlQj73+WBTSjw4nCVILqj2LvdGJeEdepbEM87d bCw8KtxG0w38dYbyPSYU5CoNmzhFk32JW2zZBqDACm5cUTAdeoVMImQy7pzxY1lQGi3n nidIbtD3QCo6ikc4AoKyctg0cavpUoaLUBM77gBXItaoWeBzUrlQSDYzvyhpiY+Vyddy euVA== 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=YD6NPTofpdb/OrV3lCoLvgZH39SrPlv9LDKkq27yBCM=; b=Au2DwIYX7PX0BDEAaWAFCWHQNRRcNkxUlXsbhCRkYRNaJ12ZLp0lzahf4IUtf7IIrs nuD0CMSYx+mVtw2NfGXu/l5YUq/x1DgnneYqag7/Ijl9RCyMc2H/7Rb446M4HNTrvpX5 10ExdwsK8KlawxHAthUzwKXQrlbF0NrDwEe0NIahFE8xKJ64cF6sF17yQJtPiOHlfUwY MZUEUMsEh5yT70jYmzRW7S5qmdotEtgDVA1fEp5iSwKmsgOtgqGLLtHKEUP4B4Y1VD8s KKY3bNOT7nS6YwvdiG3Cpgp97PmVDdYRX9wvKiZDJjzUp2kUITNsSqg+YyqpsF7ChFUZ o/Dw== X-Gm-Message-State: AJIora+cmZ9PWJ3ptyx8vOKOH+gWejFrSsrm7sCRtcuIspvYZ3O0WcrN PFYdEzgaEftMg+9IaefvqsleyQ== X-Received: by 2002:a05:6402:5201:b0:43b:f621:3ce0 with SMTP id s1-20020a056402520100b0043bf6213ce0mr19966419edd.22.1658998373818; Thu, 28 Jul 2022 01:52:53 -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 h5-20020a1709067cc500b0072aadbd48c7sm171996ejp.84.2022.07.28.01.52.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jul 2022 01:52:53 -0700 (PDT) Date: Thu, 28 Jul 2022 10:52:52 +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 1/2] devlink: introduce framework for selftests Message-ID: References: <20220727165721.37959-1-vikas.gupta@broadcom.com> <20220727165721.37959-2-vikas.gupta@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220727165721.37959-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=ham 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:20PM 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