Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1373519pxk; Fri, 2 Oct 2020 08:04:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzh9vV89I2m0ykSYG1aVud7bb9shRbJ3GUpeL1kBSfT4HLUrS22kFgRvh7+Ce0U/x5DFzU9 X-Received: by 2002:a17:906:4c84:: with SMTP id q4mr2804505eju.525.1601651052477; Fri, 02 Oct 2020 08:04:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601651052; cv=none; d=google.com; s=arc-20160816; b=JaQLtm7Ny5c1OnQtMivu3JJreLxpOhkD6zUxfcnKDGDcENYPQgTbtl5m0ZjAGXK8te D/+U1sa9NHwjuMomywyMw+TxSCOgZaFaVl1BsoyMf7eK2wd5RZgkoRTb3VOw6/Mjntg6 LpJftP/m8QCg5cLz0SvwxGF7N/n2NZBSEemGT4vCxRcIRv+TGejuKIHVeVc8KMm6EQXq DQ2VQ4qd1T8o66qbiFK8zMF7Ca6fO4yEc2zrrMit+xjL0Sk3SzNQZ2FhhxfmVhYSNeEV c46LfKSeIOWxl6WNCYBCJcfvRiOVpzkM6+HAtqc7qiQBmm0L6tmWZOyOdkb/kQZUWOl7 2vQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=09Lfdng1n7Q4TTakBKhVCcqKyqUENsEv04FUoxMlFn8=; b=SJKvMKyGxj/mHdjpweObMumuq7uLCTW4PHyskjQMT8aYc0IKbAuNx8D4KxKmz376/K zKKmGRU2WxkKikXWK1/+++Ud9+DyExiPX2Wwg90KUgMWJq4DOvziXTeXp7Uq92nK883D 9dEzgZGHGMGUKlzo+C4LiTrvCroD0ExgKh4rqhK8xD7YuVT2ct49EDxCqLZLBmNiE2s/ 00BKFnNzVRpRqedss8BBKc/qR/IxNgsAZesThVRjelQ7i5rlVTr2t0/fmRN5CITFY9kk sfO/iawC2p/2+pAd6gC06OMaJkoiNh/N8Fv/0lEspC43veau+zLK2eICN3E1BPEw/lOH tU6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=JEk2Lb90; 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=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm15si1143036edb.236.2020.10.02.08.03.49; Fri, 02 Oct 2020 08:04:12 -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=@nvidia.com header.s=n1 header.b=JEk2Lb90; 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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388115AbgJBPB3 (ORCPT + 99 others); Fri, 2 Oct 2020 11:01:29 -0400 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:9651 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726017AbgJBPB3 (ORCPT ); Fri, 2 Oct 2020 11:01:29 -0400 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Fri, 02 Oct 2020 07:59:45 -0700 Received: from [10.21.180.145] (172.20.13.39) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 2 Oct 2020 15:01:19 +0000 Subject: Re: [PATCH net-next 03/16] devlink: Add devlink reload limit option To: Jakub Kicinski , Moshe Shemesh CC: "David S. Miller" , Jiri Pirko , , References: <1601560759-11030-1-git-send-email-moshe@mellanox.com> <1601560759-11030-4-git-send-email-moshe@mellanox.com> <20201001141425.68f7eeb2@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> From: Moshe Shemesh Message-ID: <71a190af-6b00-2b2e-a356-8e9f241894f6@nvidia.com> Date: Fri, 2 Oct 2020 18:01:15 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20201001141425.68f7eeb2@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [172.20.13.39] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1601650785; bh=09Lfdng1n7Q4TTakBKhVCcqKyqUENsEv04FUoxMlFn8=; h=Subject:To:CC:References:From:Message-ID:Date:User-Agent: MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding: Content-Language:X-Originating-IP:X-ClientProxiedBy; b=JEk2Lb90N9nzP5ZWoo0BQ+kKbCwslxXFAr0UGrDrhQqhE6a7V0EOEzDxqE8uyiVZB 51n5Ufyt4ADtkaZr2CPSXUkp+ZlW7TJB2DYfliZnpAp3WJ3MiNszAXmPsWqBGb7kAN 2lbMYeGkS6gZA5WpHa+GuHWrAjZBCrCY9g8W8Kh2C54DGMkSofigNAcMkft2M9lBoT dwWsSRkaXUt6tIlPGS4B9cMaFYOWy+OKo7+Diq+Fzmfk8jp22ERH+oTavxbwcIqL4R m5V9Hgn+GHfpv7y91iiLHP2GIlyUre8suQIsygvvVmIA6YcTpdySGVnKBO7lEhyCcO I+zrAQVZ9EWyg== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/2/2020 12:14 AM, Jakub Kicinski wrote: > External email: Use caution opening links or attachments > > > On Thu, 1 Oct 2020 16:59:06 +0300 Moshe Shemesh wrote: >> @@ -3032,6 +3064,7 @@ devlink_nl_reload_actions_performed_snd(struct devlink *devlink, >> >> static int devlink_nl_cmd_reload(struct sk_buff *skb, struct genl_info *info) >> { >> + enum devlink_reload_limit limit; >> struct devlink *devlink = info->user_ptr[0]; >> enum devlink_reload_action action; >> unsigned long actions_performed; > reverse xmas tree missed that, thanks.