Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp17567190ybl; Thu, 2 Jan 2020 07:51:52 -0800 (PST) X-Google-Smtp-Source: APXvYqyte48GeDrkqkVlAT+4dp/G2SzSWBUEGLdBbFJQllye2aOhwooRvC6APdECNc1mteuSfBnL X-Received: by 2002:a9d:ed5:: with SMTP id 79mr93728280otj.72.1577980311997; Thu, 02 Jan 2020 07:51:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577980311; cv=none; d=google.com; s=arc-20160816; b=1JclGSzC7bjUTa/VExXWLHjxmbAA3pHRwUjbtifbtjglNy+/lCWUveL40TRxAroDLn cqBmUUfHG/E8XRmFLvcIN2CpIFj6oGzV5P1pAVTAEwAb4cJqaYf1oO3H4Y4fLL4GXFk4 wZ84q9AN5esBuJsoUN5ivy/9zWAsISp8Dq7+EU26wYWX17a4t6wj8FYfPLhgil0LQHng fcitqSFIeAHhehT3FfnltP/AOd4OLpeJOgrRIWM/flL4xY0/YLRdBUO6BC7ATVduUhrf v8gdaq3g3FdvD8KTuaOo/qunNH3E+wWKrKDoBasyrYPhVrTwAHwdLw8vycNYTNEl0b+l AStw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=GENgxy63AoFh0BOCNtfVuuosVUuHdXo2BMjGfPBx85U=; b=LPf+YsTgBNRjMpS5lTCqhrxQi9no/p5TlQn93kWgpkHNfft1GZEeu0t0RszHuCwUMp coWmHaVs53hyVCOM4uSWb/18vhOP32E/sOzTBmaPV+0uS2Dyqh90baNCbn2z07lXcK8L TOKwuCQkiNekrFAl89xmgM2UmgfZ/fvaXaqUV3uwi/Vleepj7VKdlpU+22HLFldzfdAu Z57FooFWVJBvn215FTk2hY5d6rnMNH+cq7nRgW3OHc2ocBQ6s539xtmo4dyXFfu4x0Jh pcrB/FiKJIJMmWoPw2b/PqynCg1bXUVTRyV4kZZUGP8mlzGIV6IjO/dWRp9E/LrvEK3M dDIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=NeQ0wlWu; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q20si27157335otn.297.2020.01.02.07.51.39; Thu, 02 Jan 2020 07:51:51 -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; dkim=pass header.i=@broadcom.com header.s=google header.b=NeQ0wlWu; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728755AbgABPu7 (ORCPT + 99 others); Thu, 2 Jan 2020 10:50:59 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:42587 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728665AbgABPu7 (ORCPT ); Thu, 2 Jan 2020 10:50:59 -0500 Received: by mail-pl1-f193.google.com with SMTP id p9so17955430plk.9 for ; Thu, 02 Jan 2020 07:50:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=GENgxy63AoFh0BOCNtfVuuosVUuHdXo2BMjGfPBx85U=; b=NeQ0wlWu2/J9YrsMzVzL356bbSdO+ZmN/0IIDuy3ylBBEr7HeytLMVfEVMUZZBBItS P7oLojGDB8mtDu+bn2YMnegrMj6jNYQlu7CaxDWUT/BerQOW/QeoG/H3eGOB61nf18cO u/WUzd0VSsxDwILlr8knphL4BvaRaAGgl5BZA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=GENgxy63AoFh0BOCNtfVuuosVUuHdXo2BMjGfPBx85U=; b=Qa8lwcznmKWBtJzxOkr/RwI/UfKWj9cI9+IYD5OLsSc6/w69gFyXT3oHviTGMfWUCB vHFUIetAc8ScSkKcAykS2Lvm1HxG1s5eRhdZabBERuOrH+qGl+SYwaTHI2FTzyl99z8C 1ezgjrRuvekYpe+/sEza2C6Jv6ZcMl94K4F8Yt8ZzcKHU+ECam0UROqszLVjDgk1hY6V Jq5zNMez7BRRdMMBjEOS9zLaO1GK52LRaNxGS9qB2DVT/9ELXY0RrkwZ7Lbz+Bwa4n9c sqzC0PJP6sIfYSHel7f5XuWZEY7+jESlbVhNbxYe/RKFKSyPsVQZTzWKY88eEiDIhPPl KBQQ== X-Gm-Message-State: APjAAAWnbDsdls4uIZsYIaU9ZR4LjRmwcdCZMxfSfevu9uX9O88q2dZg adoXYMYHR17njhH2sgwswzl03pGWo79BrA== X-Received: by 2002:a17:902:a58b:: with SMTP id az11mr86055304plb.147.1577980258866; Thu, 02 Jan 2020 07:50:58 -0800 (PST) Received: from Ninja.ibn.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id d2sm11499420pjv.18.2020.01.02.07.50.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Jan 2020 07:50:58 -0800 (PST) From: Vikas Gupta To: Michael Chan , "David S. Miller" , Jiri Pirko , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: vasundhara-v.volam@broadcom.com, vikram.prakash@broadcom.com, Vikas Gupta Subject: [PATCH INTERNAL v1 0/3] Devlink notification after recovery complete by bnxt_en driver Date: Thu, 2 Jan 2020 21:18:08 +0530 Message-Id: <1577980091-25118-1-git-send-email-vikas.gupta@broadcom.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This patchset adds following feature in devlink 1) Recovery complete direct call API to be used by drivers when it successfully completes. It is required as recovery triggered by devlink may return with EINPROGRESS and eventually recovery completes in different context. 2) A notification when health status is updated by reporter. Patchset also contains required changes in bnxt_en driver to mark recovery in progress when recovery is triggered from kernel devlink. Vikas Gupta (3): devlink: add support for reporter recovery completion devlink: add devink notification when reporter update health state bnxt_en: Call recovery done after reset is successfully done drivers/net/ethernet/broadcom/bnxt/bnxt.c | 1 + drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 14 ++++- drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.h | 1 + include/net/devlink.h | 2 + net/core/devlink.c | 62 +++++++++++++++++------ 5 files changed, 63 insertions(+), 17 deletions(-) -- 2.7.4