Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp462664imi; Fri, 22 Jul 2022 02:57:16 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vJYr++FCp+C3Je4Tuc/sQlB4QcVLAczSG1FLX+EZWu9aQiXtjjA9XsxTT4iLljaKg3o2G2 X-Received: by 2002:a05:6402:5cb:b0:434:eb48:754f with SMTP id n11-20020a05640205cb00b00434eb48754fmr2716553edx.421.1658483836295; Fri, 22 Jul 2022 02:57:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658483836; cv=none; d=google.com; s=arc-20160816; b=T6MnOFLISGGGS1dQ6rdBLucxfLUn9uq0pWq2XaMidN6x/kgSM12/IkXqt++gi9JRav YDn85jUht1LmcMnqGmx9v5acRBKpEU5lyqIe2QynpBP+Io9vgrGqKkcF+kNnHVz2Svih Bz9uyBjTob4+CpVWB1TTJw6E3mSKM4bNApKc3uiYcE5fRrwU2Bt/tVDzy2b96lOJZEju At8TVCGoNsM2UWw2tuqgqMCLNByu43I7jePzuyZPmtl8S03Vs3mmRtfGGCdd2WLBpRTP LKzCEQT73CNkemw1vf1ScE7MoRZkBJFGIxb5gKDG3s92FyFLRJF6C79QvILGDPGexndf mY0g== 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=E9vcJOsdgIjAaSy7NpDkCxTaNhk4Fnyk07v+Af9hfNE=; b=bLBR2dzrpiainwoUbYnPfrHLe5B9vcnKTahb+k1Ra4GBVV7lsL3fFROZf3FYWKnjCF WHgru2kLS5H6k/6+uBjD5m40/WHKI+TCKaI8XmRo1Sq0RwmMZK2gLLx92wvH+/nR9JTE XozCRF9wM5dD0iYvVbJ0scFrubu4k/IkTBRjOjvFC7abnwWUhsvpXXNWOKz20oSNow6Y D8qGQy047Pu1aE32yKgZkGaRaNFdbGQwh3QXJI5c4vADH0Co6ZeLeowWUahN3nze5dBK Svg/I1GXypJAhXpY7JK7nREzv+lK/tnp7fRENZRAETSdWW859RxQueB1D3zhpla9drfm f+yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b=UEVG9Ul1; 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 s19-20020a056402521300b0043a219efe71si6175480edd.55.2022.07.22.02.56.51; Fri, 22 Jul 2022 02:57:16 -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=UEVG9Ul1; 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 S236120AbiGVJsF (ORCPT + 99 others); Fri, 22 Jul 2022 05:48:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236061AbiGVJrf (ORCPT ); Fri, 22 Jul 2022 05:47:35 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAB6787C27 for ; Fri, 22 Jul 2022 02:44:44 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id n185so2454383wmn.4 for ; Fri, 22 Jul 2022 02:44:44 -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=E9vcJOsdgIjAaSy7NpDkCxTaNhk4Fnyk07v+Af9hfNE=; b=UEVG9Ul1xV/Pi8+g7CCXwS9rnlt6WG8ar3AAD4WdZyE1jBcnoCLRP7L//NwI1kDL8L ubkFn4w+A7gfw/jnePpdWNkyaKeVPZtHm9VeLeYZZg+1kQHF+pF7jLCensdI/IQTHJW+ IpiWa44+MFFgE7ucY8Mr7R2I0+69GyzFe1Y0OwTFvG1k7qj/etUWvzjrFIcbiuYUXGzm QpCV7MFS0hT/5Ln5hXe9baEHC/e5s6zldmt+ypoipKD1yZbVtoc3Yt6jcy+aVP5o3/SJ 949wldqEwP8CTzoiiLuCmBHUOubfh47MIzwKABM5FOoC9dNpZrZ8aDK/G81I7fNuQlTr ohPA== 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=E9vcJOsdgIjAaSy7NpDkCxTaNhk4Fnyk07v+Af9hfNE=; b=wHE8MBlqVWlFauKOBhYVPgBQbKTrtyBy6GZ4+uirtaTQzvASysgdl1B25aJy2KPzw4 65rsKRV9BVdQv3Hpv12uwu7OLFUxn6L7LB8F41NW5Ha2sE/MvS6hZ9HISFqsKgkhIhH2 k3KZDVdkXZc7V1UxgYqvW8FsDfXeykJqNCtyzOk3S5SWPSxhZbsYkDL1q2eKWvGZKlw/ im7d9n1O2jJKVl4xgfVgN9toyaShip7b6T6Revi3oQa8D+vcl+J5VhaeziY8CK59EHZZ vT0OtiqcpiXlFlkDWrtI75iOwPugPHBWYs5KSTZyr9Hwg6xIJpWXnM48mOxpU3LA9OsZ brbg== X-Gm-Message-State: AJIora/pi3wzRwuGAUfSYnIo8CFWvfs9vCDE9BZmqgRmDKbEn1uIJvab +Nnxjq86BJOdww6FKgH84u7SGQ== X-Received: by 2002:a05:600c:198c:b0:3a2:b440:ed46 with SMTP id t12-20020a05600c198c00b003a2b440ed46mr11773857wmq.110.1658483082901; Fri, 22 Jul 2022 02:44:42 -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 h7-20020a05600c2ca700b003a3253b706esm2417230wmc.34.2022.07.22.02.44.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 02:44:42 -0700 (PDT) Date: Fri, 22 Jul 2022 11:44:41 +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 v5 2/2] bnxt_en: implement callbacks for devlink selftests Message-ID: References: <20220722091129.2271-1-vikas.gupta@broadcom.com> <20220722091129.2271-3-vikas.gupta@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220722091129.2271-3-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 Fri, Jul 22, 2022 at 11:11:29AM CEST, vikas.gupta@broadcom.com wrote: >Add callbacks >============= >.selftest_check: returns true for flash selftest. >.selftest_run: runs a flash selftest. > >Also, refactor NVM APIs so that they can be >used with devlink and ethtool both. > >Signed-off-by: Vikas Gupta >Reviewed-by: Michael Chan >Reviewed-by: Andy Gospodarek Reviewed-by: Jiri Pirko