Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp800511pxk; Thu, 1 Oct 2020 14:17:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcM285nCJjCeIBX3ibJC6/3mNCDHmGKbdEw180BCMkUw8lW+DWYnvhLptcxmbO1JboMhgN X-Received: by 2002:a50:cc8d:: with SMTP id q13mr10167916edi.298.1601587030245; Thu, 01 Oct 2020 14:17:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601587030; cv=none; d=google.com; s=arc-20160816; b=V8gV24DmilPDGtl2q54JzKkCs3aMP/6FVc6V1NRlNYj0JQ+iizSl4QGP0FhCAYnhK/ iiNFv/fMnWcns7V2lLBdG8o5JhV8zCjjuR1JA6C4hsELhgZQ1MAiciMotABCJgxdS4is vpQR13E7K0tkilLhwDSwdA47lJmXmWIRWQnbZjwgitzCUPa+bRO5XiZ0WvzYkyRbq4is j2gS669zoCv60Ari6ecoY2J933/2e1P/rWwV1AweydZS+b4YXH7smcUSSEemmN785Ii5 qo7EezxjWz5Kl1+IOT7Mf6TaVi9WiAHmNf4lF/V3KiuJGsh0hG3VeEiNvQUlis9Y3w7q sBuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=HU5Wv8WJC1zl/lQZuCOxcN/b32jtsdn3PhS0abq4Aog=; b=IUwM0qkrCA5RkSazV19WKwrZSWQZWBT2ddCjsN5Mm/r7JQmiJX9PuNIsHLMtwq3AR1 A6oE0UmHcl8UZdCtd8EiQ3BJsB2/G0jpfXPw6JpTtwE0Pij8ve4LUHIJ57MoBbFwwlA5 fTUSbaTIJGedtZbn/PAtn+8u8fiRg93Cwo/pznp6kDm09VFLPNHAgxhbG1bLhAWogNjS d3QWAnHKqqkE6cDJbnm2UGuWpOJfvrgv3P9RBmYq6RXptrGEh/9qONlPXDLsiKqAwdQ2 NMV0uvQCg7F8VW2/d1M86th8BV0338Jjx7HaGGIRf/grs1lUeYOXDDlF+3+PZs6rnw4n 0cWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="LL5/e8TA"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n9si1759857eja.354.2020.10.01.14.16.47; Thu, 01 Oct 2020 14:17:10 -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=@kernel.org header.s=default header.b="LL5/e8TA"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387403AbgJAVPp (ORCPT + 99 others); Thu, 1 Oct 2020 17:15:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:57280 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726581AbgJAVPp (ORCPT ); Thu, 1 Oct 2020 17:15:45 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AE72A206A5; Thu, 1 Oct 2020 21:15:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601586945; bh=zx8F/VOM0tUBDM9N9QcngV1RTlBNa1szmVrcEdWv5SY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LL5/e8TAQqGM2I8qJnIfh/eLc8pPbL2jgJ5VT4DsO4LHKbuxDO+qUZo0ccPr7e5sL JvhiSijf+QegSker7+aVU/7QoBMzD2Dkooo+XaY6ieG329a9Grg+YbpV179nzg8JOQ ahgGHCycOziH4ho+6o8IbesUiYUrPoBCW/bj5PXw= Date: Thu, 1 Oct 2020 14:15:43 -0700 From: Jakub Kicinski To: Moshe Shemesh Cc: "David S. Miller" , Jiri Pirko , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 03/16] devlink: Add devlink reload limit option Message-ID: <20201001141543.24125b7a@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <1601560759-11030-4-git-send-email-moshe@mellanox.com> References: <1601560759-11030-1-git-send-email-moshe@mellanox.com> <1601560759-11030-4-git-send-email-moshe@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 1 Oct 2020 16:59:06 +0300 Moshe Shemesh 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 constrains 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. > > Signed-off-by: Moshe Shemesh Other than the nit: Reviewed-by: Jakub Kicinski