Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp1548981imi; Sat, 23 Jul 2022 09:06:40 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vW4sPf3EhPiTBcgZ00LEb1NXyd6yM6Oz+N00k5AKPV1k2DqDNeAK9Y01V1Vfy//b8YmdBZ X-Received: by 2002:a62:14cc:0:b0:52b:9043:4615 with SMTP id 195-20020a6214cc000000b0052b90434615mr5194867pfu.35.1658592400406; Sat, 23 Jul 2022 09:06:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658592400; cv=none; d=google.com; s=arc-20160816; b=VurI1lxbteVdsVBZHFqzt6PwoJooVUepeePXDr9J4TUubBuMPEVjn2RafbRYbgYLU+ r7J1ImrJCkV6NAcLGwdQQh/KWLoKnhVn1fHQGWy1tO0laA54WTUJNgS+zK3Eabpp/Ieo 8rLxYeUBCtz5sCV+YUVg3dAvRAylOdvh6/+GL5hcNX4iSw4O32cC9RwBkparYDz3hxMV +AqRUpnwHJFeG8gM4JhXYiWxHSeMLkRHmS+okt6WpWN5whr9yg6L6a7X7KlS5BL4+EBQ x3ulXAztfyaWI0D5tVWNhXU8Olc2DydMYSkqmw7rf5xdIu4wr3mmOBS6ioptM/79nzqx yjbw== 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=ZLdA2ERQ47Gn3HeVkfGSNgKMTZe+t4pJKXQ2WTQOOxU=; b=HUMGpQsGAplIdDRGlgtQFKdgPx8Bh1WBRxtd8hHJHPstg1DxBS2hHgqePSXR3HoESB r5wNUaTYKMMaeWKuhdheS88AWZzM1FkJDcOH9FtM34hz7oK780D0OpkMsMS7JbyexjKv yUD1e4tUz78yknr4rO3lS+ccSVvJrRphz2AhV/oNfI1x9SUYpBawvxNs9xTh/1VzOFnE 6n6U1HZ5bkoJ0yLIwSdg1nyd1/u01obkf+qiMdC6Wu1MWAKhYT9a2Seqrfq1oZo+d9Z1 wbnXPR3j7dVdp6T4i3DDv0CAKjj5H0ElSQy48RRcG9wN7dU+9edtFkIRljQdwna8tcHF VfcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b=yFXoJQGX; 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 m11-20020a17090a3f8b00b001efc3486804si12006799pjc.152.2022.07.23.09.06.22; Sat, 23 Jul 2022 09:06:40 -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=yFXoJQGX; 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 S234517AbiGWPoW (ORCPT + 99 others); Sat, 23 Jul 2022 11:44:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234200AbiGWPoV (ORCPT ); Sat, 23 Jul 2022 11:44:21 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 470EC20194 for ; Sat, 23 Jul 2022 08:44:20 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id v12so8978635edc.10 for ; Sat, 23 Jul 2022 08:44:20 -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=ZLdA2ERQ47Gn3HeVkfGSNgKMTZe+t4pJKXQ2WTQOOxU=; b=yFXoJQGXAJOOu/GppNHyplycfD7PJ8WiPXv+SLcTIZ9Ye/Q8M+KR+b4u8fe36+8YgJ fZSbtrfeaiQZEU0lQSbJNs/Ucs9y7TLMLJEewW70DqaKmPO1gFjV7Tfmvs/i3ABAVVmL sHYcoUgZq5d9kr+xWbg+1lv+Fbk1Sn71c0rytbbVYTTwua0COJyunVreOhbUW3OU1f6F T6Jhaz0+Odb76y6pk3qEzwBUVZZxPpT75v6J9cqwXymSfetIUTgTuYLeZjXtUBqvrJXd trEfX+25fk3hmgPaaMmqV2XyJUAcTzMlMWWd+fr66pNMN1dCfVyA5x9Ze0L50oEBeEyx P3xg== 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=ZLdA2ERQ47Gn3HeVkfGSNgKMTZe+t4pJKXQ2WTQOOxU=; b=ikQsjF1O42mYNdacAX3/uKU49Yk63IAgNLS1t0nc5N9QvHvqqI2cCwDUT31+3eNDhb l6guF0/hSxcRGlp8ImT7N8OmFHzI92goStUWFeekqud3LHKUsnWPpue3ZZaWpoUreVVd vGmvau8waO2ZKSZINsgTFtWtDg+l6zBQ9zB8oNn45CYvoZw6C2BJi6SMtf8bMDv/2BK2 cpigiMGiEA/jfe64iddA6ncAE0XWUpdF/KWY36p8ZyU1M8DQzJGX+WWqxlpNu2RYzAsj eO/KI+w/y2fabgSqm0avgOeKYgRtOMB0K58AKjpR04TKNmEjXlfLsYw8M/Kfz6U7rfk0 +97Q== X-Gm-Message-State: AJIora+thu11/+8wnBs57Hcz24KnHutIpqHzP7zz433HjkHz+8UmMiXR 939UoD8HaAvlgwtB95a35pQsIA== X-Received: by 2002:aa7:d847:0:b0:43b:d8af:afa3 with SMTP id f7-20020aa7d847000000b0043bd8afafa3mr4558674eds.247.1658591058771; Sat, 23 Jul 2022 08:44:18 -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 nc19-20020a1709071c1300b00722d5b26ecesm3251129ejc.205.2022.07.23.08.44.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Jul 2022 08:44:18 -0700 (PDT) Date: Sat, 23 Jul 2022 17:44:17 +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 v6 2/2] bnxt_en: implement callbacks for devlink selftests Message-ID: References: <20220723042206.8104-1-vikas.gupta@broadcom.com> <20220723042206.8104-3-vikas.gupta@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220723042206.8104-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 Sat, Jul 23, 2022 at 06:22:06AM 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