From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D66B9C43467 for ; Thu, 8 Oct 2020 07:39:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6BB102184D for ; Thu, 8 Oct 2020 07:39:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20150623.gappssmtp.com header.i=@resnulli-us.20150623.gappssmtp.com header.b="i5CzYo7d" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727424AbgJHHjJ (ORCPT ); Thu, 8 Oct 2020 03:39:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725899AbgJHHjJ (ORCPT ); Thu, 8 Oct 2020 03:39:09 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 700EBC061755 for ; Thu, 8 Oct 2020 00:39:08 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id v12so5437692wmh.3 for ; Thu, 08 Oct 2020 00:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=acT3mJ3SgCskMXGei75f2QgPPdiS23kx6LiqTgcMbyI=; b=i5CzYo7dzSmpMLz4rtu2Pkeh1wioILnCpnEabEsBViz7tWcc2f48rPuXmkfOu4+Rwz otLbJQ6Y6l7Rbh7U2IMQueo6eVKPyLujdFZKaP3krJTZrz+xToNJtIlE3SP75WOnrQlU MMJsaYYif+YYgsJlyM9vlQSKbpwdB/n52VJBvnyVk62Sk70xvfMj5D0AEU7DGgBzwMx3 1gPiNFlzJNB7EvFG8zwD0+za37BmhXBPLbV19Z95vDN9UiWHO0TjUFrN4IefJLeFBQ/F aUIkAookidELNTC1LR3SLqlNfn1l6Kupn/qq8sPaSWZi1srvCeRYbySJZciFLwiFT7cw hDUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=acT3mJ3SgCskMXGei75f2QgPPdiS23kx6LiqTgcMbyI=; b=eNExlxB9ozabqYW3mkxkfF7IhubkdB6VhjHKiCzHP+4yzpN1hjxojoZlHGPNH/sC8f hCyp/1vV9AGFh8DM05x6HOEd/byAFKmhYGlg7TRdrRHO6KbbkLSMJCSq2OqBYZSyMjW1 3TiunVbL1z7XaVvYby5Ruf/qDcAJnA1pVDoUV9ajuP01h18siCXjdk0yRK2bgSLKzRye o+MOCNLguGtOJ9pDdL+3k/KpW3IML9EtZ09XSOidBee8rEN8ig/5BaV1hoQbI6+FiCKv NktXEBPNsxJHveDAzbHMcuEuUVetmdJNX0phzzolZYJVCt8WLSFNah1M7qiyxyfE4/gx Rivg== X-Gm-Message-State: AOAM5322KVRYBlZue1OUPuRCiIoGPqfcBufCYilvH3azo1BIrPvFF8+f CU18nx9C8TAp8VHeaQm0qPveJw== X-Google-Smtp-Source: ABdhPJwjHpTJ7/ur9Z19VLp3xZ8ALp/j4Fp7NgchaRmjLtruqhs8jAB14QOUHbXX4R1qL5vuo4t8lg== X-Received: by 2002:a7b:c7d5:: with SMTP id z21mr2929815wmk.73.1602142747144; Thu, 08 Oct 2020 00:39:07 -0700 (PDT) Received: from localhost ([85.163.43.78]) by smtp.gmail.com with ESMTPSA id h76sm5708531wme.10.2020.10.08.00.39.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Oct 2020 00:39:06 -0700 (PDT) Date: Thu, 8 Oct 2020 09:39:05 +0200 From: Jiri Pirko To: Moshe Shemesh Cc: "David S. Miller" , Jakub Kicinski , Jiri Pirko , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2 03/16] devlink: Add devlink reload limit option Message-ID: <20201008073905.GF3064@nanopsycho> References: <1602050457-21700-1-git-send-email-moshe@mellanox.com> <1602050457-21700-4-git-send-email-moshe@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1602050457-21700-4-git-send-email-moshe@mellanox.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Wed, Oct 07, 2020 at 08:00:44AM CEST, moshe@mellanox.com wrote: >Add reload limit to demand restrictions on reload actions. >Reload limits supported: >no_reset: No reset allowed, no down time allowed, no link flap and no > configuration is lost. > >By default reload limit is unspecified and so no constraints on reload >actions are required. > >Some combinations of action and limit are invalid. For example, driver >can not reinitialize its entities without any downtime. > >The no_reset reload limit will have usecase in this patchset to >implement restricted fw_activate on mlx5. > >Have the uapi parameter of reload limit ready for future support of >multiselection. > >Signed-off-by: Moshe Shemesh Reviewed-by: Jiri Pirko