Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4662661pxu; Tue, 13 Oct 2020 04:16:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1p0oe2UhBWCt+EQlHbpIhdJ4qunAxcSpLZQq58jptB8nAe+3uaX9wlg4hqX3XeKNdTLTJ X-Received: by 2002:a50:a455:: with SMTP id v21mr19025833edb.180.1602587800323; Tue, 13 Oct 2020 04:16:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602587800; cv=none; d=google.com; s=arc-20160816; b=kkwBhJy8ERlbsL5AxswUM//nuwyhUaZck2JKa6WW/UI82PwyT6reWDwfGjuPv0yljY hWrA5NPR3Jdx7AwwCr6odppq9rbBS6blok9i3CkBc2gcQPTF+Y2MqekKczZN0+N6JYOf X2+lovPRCkmpeJM3Isn3/1bshoYsbD4ePFRVOkLphAYlBQ74zOJ5Oc9uLMH+xYCyZVVn wu9jVNq2RUVSK9e1gQi+FNo6WTS4NvDbB0W0ZUSIcSzpSKOO1WGNZxzAC6PtnB6ErOHi e6vnGwQyGEUQMSEb5+kTzs7Ozo0Mk0T70D6Q4JyAxkvQIm7tsAWuLzJM9SIB8saXRC/S V9RA== 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=QguIN+MWkuVrUIVhlT/GAiMKd61MVStubKHegyevkY4=; b=nQDVk9aW0nZkszgLxIB2ciGy2xVAykkzxak8i/YjSyp4roIP+XxFHwSNh+kpJbKvEh 6c339bymYt6abVRjYp3wVGZdn2o5tqDb695u0OEoRGNeIZXBp0eSIKSxpn4G+102Ws+i 7naR8Pa7xr0cEkXd8QX2AxyFTY8itgKE0DKDisvyxMLpNgGObPwhIsHbiJ+e6VDj8y3C nztkHI4Wuo6sWsVh+H02UOiPqkcdDDOEUJpVW181MBWGulAXHj0vzyZQYWsJo7QRmIVy 8hBjY81rj5z/zLoh21mD//MNJUZvpVC0Jx/1WEcloOoTMhMMRkXgVO5yRSy1/eX8X/iA y//w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=D0WspYkO; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l17si14144781ejq.235.2020.10.13.04.16.18; Tue, 13 Oct 2020 04:16:40 -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=@gmail.com header.s=20161025 header.b=D0WspYkO; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727855AbgJMAhM (ORCPT + 99 others); Mon, 12 Oct 2020 20:37:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727403AbgJMAhL (ORCPT ); Mon, 12 Oct 2020 20:37:11 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB808C0613D0; Mon, 12 Oct 2020 17:37:11 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id c20so4790336pfr.8; Mon, 12 Oct 2020 17:37:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=QguIN+MWkuVrUIVhlT/GAiMKd61MVStubKHegyevkY4=; b=D0WspYkOVRlf/Hh2i8c2GZGvwcGuLEh8tWt7/sei3VfZf1AYgafNswQFM17SofrqLn ssYcgESBEuHv6PEZY35YQnZoEWP87xauG7Jb7Rlo38BF3Gu9bJIoCCvyukfl8tqWvA7A UgnsYzdkIKn1aQbwuzroXgbd0BDwYHpgQMJYYnzAwtf2Al3zzoJ+VHh7ieZ8sjhwv1Nq bvLOWAWdECEm686SAqakuxQk2Pnd7E3mrVZXFidZ9k1jq/eOjIkuDGUXySuE7oX8Yl/X yPKGmR6n9tyD8wcFb+FbnTjJW+MhMcuRp720uJ/c0WDlWkHaa02doXiRR0E//F7f8djV CGmg== 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=QguIN+MWkuVrUIVhlT/GAiMKd61MVStubKHegyevkY4=; b=kyPVD4JkOmGB2fnQL5I7rZ9FBXEeQhefcqNYq8PQmjRupWg07deArx/tOBOlGpS/80 0RoaTjTD2ZwibH4CqX53V6sTVhnpqwE+sv2C3M9ahAk2czTdQyP/uN5+XzQfhXleCVrn 23BUVcZ1e1KO3hlCv9pOva0p9lnSB4bjzzXlGqtfwpOkAs9JKFoa60v9ndToB658QOzq 4pV3v6ZNynf6/7761NAEr5k1UgFr2y2FwUJv5wpr0qD5zsjuI7J4/RK+wEa9NYmpc6lk 6vb/4uP1RNQRN+GOKWqRnfEfixT7vUMEvHJ0HyfanPM06bSnPFzNxKnyacpxRhZYn7lF gbJA== X-Gm-Message-State: AOAM530RIW46ScLuERp1Qh0sMH76UHFv1FZb0RRE5HzPBE1Rbx8hk4mF MDUO/SsdFAyiaTzLPm50m5c= X-Received: by 2002:aa7:9358:0:b029:152:b349:8af8 with SMTP id 24-20020aa793580000b0290152b3498af8mr26858626pfn.9.1602549431129; Mon, 12 Oct 2020 17:37:11 -0700 (PDT) Received: from f3 (ae055068.dynamic.ppp.asahi-net.or.jp. [14.3.55.68]) by smtp.gmail.com with ESMTPSA id b185sm20580852pgc.68.2020.10.12.17.37.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Oct 2020 17:37:09 -0700 (PDT) Date: Tue, 13 Oct 2020 09:37:04 +0900 From: Benjamin Poirier To: Coiby Xu Cc: devel@driverdev.osuosl.org, Shung-Hsi Yu , Manish Chopra , "supporter:QLOGIC QLGE 10Gb ETHERNET DRIVER" , Greg Kroah-Hartman , open list , "open list:QLOGIC QLGE 10Gb ETHERNET DRIVER" Subject: Re: [PATCH v1 1/6] staging: qlge: Initialize devlink health dump framework for the dlge driver Message-ID: <20201013003704.GA41031@f3> References: <20201008115808.91850-1-coiby.xu@gmail.com> <20201008115808.91850-2-coiby.xu@gmail.com> <20201010073514.GA14495@f3> <20201010102416.hvbgx3mgyadmu6ui@Rk> <20201010134855.GB17351@f3> <20201012112406.6mxta2mapifkbeyw@Rk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201012112406.6mxta2mapifkbeyw@Rk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-10-12 19:24 +0800, Coiby Xu wrote: [...] > > I think, but didn't check in depth, that in those drivers, the devlink > > device is tied to the pci device and can exist independently of the > > netdev, at least in principle. > > > You are right. Take drivers/net/ethernet/mellanox/mlxsw as an example, > devlink reload would first first unregister_netdev and then > register_netdev but struct devlink stays put. But I have yet to > understand when unregister/register_netdev is needed. Maybe it can be useful to manually recover if the hardware or driver gets in an erroneous state. I've used `modprobe -r qlge && modprobe qlge` for the same in the past. > Do we need to > add "devlink reload" for qlge? Not for this patchset. That would be a new feature.