Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1018681pxu; Thu, 8 Oct 2020 00:42:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQl1aTWBrWZ9yHdppFCYNH7gdIeBjjewefLc9GULcFNkHpx3n5rcRNeqhGSAHe6z7J79iC X-Received: by 2002:a05:6402:945:: with SMTP id h5mr7826348edz.6.1602142931105; Thu, 08 Oct 2020 00:42:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602142931; cv=none; d=google.com; s=arc-20160816; b=XURsKWVWeUHfr9XGg6XRK3WckhGBdAbYAW+vtmT6n8fBgcjLsJKBfjSjRX9qU9A1o5 DhbVlHJgk9DDYp+jo11+5FMwe41Y0v4YOKtzWgo1lIEEFyUfg0p2SpptDQg1qfERWKzT 1i+BGuh0pXgg9nJsEur7ivosorviN/MmkwecdSXhZauiNz2yXDsUqbEvjBzquYWzFwIa kRfWI76WSmr5RLInjnHEWbaIxtqJ/wjLh5sbN8XTND42w+aKt1Wwp+QFdpefkJ6rfe7P 8m3H3gWp2zyy/0frvZLSnx/T1RvB78tHOn12EQ2yaJ5S+4jqj9lhsxLu5c5/Jsb6Itqm +PxA== 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=acT3mJ3SgCskMXGei75f2QgPPdiS23kx6LiqTgcMbyI=; b=QbOk+eNJHg5zysUJI9XgpNPUAsJayx8NA+kxCNVDp4RVz/HG9TaiwZAgyH9FrKtwIX K0y9g7jN4/qdmYmQGfBsmq2AsonmKuGAUdgmr9nommUG+WCz0XZXX7TTLPgpr3PV9DVz 0pX8l+N4rQ6yJlOo08eEi7SXe7XAakQDilR4hTidJmXVl7uXLFfxq/7Rw+bHJIgulW9+ Qvo92SHVZYYf1VzmXN+57B7n4odaRI2qD8Dj4uT05zxrdUt1qUDrnI7u7o/lWYv+n2yJ QOlG1XnIJB4ONZCqRswJ8uHR7NiEixy2h2g0uRn+gRIpXrctKMz0YQuXti6zvLGRdDL3 TPJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=i5CzYo7d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p10si2987620edq.458.2020.10.08.00.41.47; Thu, 08 Oct 2020 00:42:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=i5CzYo7d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727125AbgJHHjJ (ORCPT + 99 others); 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-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