Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1483318ybl; Sat, 25 Jan 2020 01:36:22 -0800 (PST) X-Google-Smtp-Source: APXvYqzU7C12A+iQdYgDoTj7ZHcdEKw+PZuSwv6AF9EhIlDENjw7+/4Ls6l/6yWPicwIuJGnz9yg X-Received: by 2002:aca:ba46:: with SMTP id k67mr1993126oif.38.1579944982164; Sat, 25 Jan 2020 01:36:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579944982; cv=none; d=google.com; s=arc-20160816; b=jRGvTPL+7MQuUCSF4EkJVPOUdtKkciwcG6K8TvYuinhpVJOOcgdGWOAidBIZKlEgBW sm7TMSrrhJfH49ze5W7CNqswghFQ25EHjLOEGjuKdbVNWOa8jfmJzERgwWhM2MnIRsiZ Hoa7kUP30ulJqFZyLYPEj1Kqz37vNHwyCToB0eMMknNnl4RLgyrr8HRQusq8OOclQVXd q1nb+8H3AKPNLJzoi2gWh13ubm/s5oSi4jRNt3KcbGbJ6eeon8lTEiRFf0DzZlomkUuY bv/hpn2A1tKQAduueKA8wmIR4UhjKuTFtYHWPHjSRNZt9RuU+OkMB9FXNFReBdCguAMr sy7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=E7d84gFEMdfwzx9dst8P0G7xwtKFH1MRlnzD63zTYUM=; b=bBzFF9pgD9RryrWBKNYGIbBt1rwynj+UCpbM+8UgGVUHWf7K6Fe+06hWzlAiUoYC+k nGUS4yOwYo9YgV3MTHwoz7q/xjAq9AkcCEyGb1KOVH54IqWTJG/uN/WN2zuV7KlhDma+ iTIMeStWSAQXuf83uFTbyJDQhIJBlBF26EX5joAulKFDaQjX46H/icK3Xceu02od6Nbb b9wDe4Oem75dbOOESDo/yW2LnVpBzBLrXtRtgL15h3Oje+5S3m962MSwLs/psCUbohpN vQEA4YYQrogPPlHXb2FYZqQTQQIjwDLej40aqDlavzFK66Y7wYGldoK3lhfXbKvBvquC HNzg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l10si4303178otr.159.2020.01.25.01.36.10; Sat, 25 Jan 2020 01:36:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727893AbgAYJfQ (ORCPT + 99 others); Sat, 25 Jan 2020 04:35:16 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:48804 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725710AbgAYJfQ (ORCPT ); Sat, 25 Jan 2020 04:35:16 -0500 Received: from localhost (unknown [147.229.117.36]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 5203815A1C162; Sat, 25 Jan 2020 01:35:14 -0800 (PST) Date: Sat, 25 Jan 2020 10:35:12 +0100 (CET) Message-Id: <20200125.103512.2165079681638219887.davem@davemloft.net> To: moshe@mellanox.com Cc: jiri@mellanox.com, vikas.gupta@broadcom.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2] devlink: Add health recover notifications on devlink flows From: David Miller In-Reply-To: <1579802233-27224-1-git-send-email-moshe@mellanox.com> References: <1579802233-27224-1-git-send-email-moshe@mellanox.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sat, 25 Jan 2020 01:35:15 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Moshe Shemesh Date: Thu, 23 Jan 2020 19:57:13 +0200 > Devlink health recover notifications were added only on driver direct > updates of health_state through devlink_health_reporter_state_update(). > Add notifications on updates of health_state by devlink flows of report > and recover. > > Moved functions devlink_nl_health_reporter_fill() and > devlink_recover_notify() to avoid forward declaration. > > Fixes: 97ff3bd37fac ("devlink: add devink notification when reporter update health state") > Signed-off-by: Moshe Shemesh Applied, thank you.