Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1829525pxb; Mon, 13 Sep 2021 06:29:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBT9WbjOqlyvTfdq3tco+gSx2xlGfEWDxcCGKgLxLBRNuXOr+eBXrIyjZk4ynnDfLzkDzG X-Received: by 2002:a02:5d83:: with SMTP id w125mr9394365jaa.20.1631539775823; Mon, 13 Sep 2021 06:29:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631539775; cv=none; d=google.com; s=arc-20160816; b=r7GBEDzkEzDMcDHKAWN5uKkdduQ3KSWxk8+QxIY3gY/saEfh8WdjaBErReLhpKYbJo Io0yEoODqwuWHSUOqfTSk2OavS71VZv3s57H/zmLfa47rzhiyMYrU1xn9QOMyQb4PYJs anyHG6pMSulLw0FCmav4lMVtve/E3IP+Mu7JDhdIBysIIdwgjrpg0RNUGMwYmjUlngfm St5s5omJgmUc/tAz+T4/4uRqaXvlh7subosagq2nk6+Q+3OFsHEvA+DFcYDfL+0ujrUP EVLugwW5JpeHnP08US1Wwuj2VjcRD6XuA9FpNvtxtgXtstymnLwmFn38ly/FwaIDCZKI yx0Q== 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=n0dItjjT5XWhIzVf5X3VVz9S0GyGpfJIrKxVaJFogkM=; b=0qIqtdlgje/5Pq/fudL9f/NA/zGDmlzuaZB5DvkAdL4OAAXOqFsBEFJYDiUt+PziyJ NwoWgZZX8riL6cln7qdgVLQJkMcnq1tIOLLDSqg4zqZlRtjgMSpGt41FpzWN8BDSNsG8 Z8YYMza8ay6dUD4hyfFUhz11D/8O40dJ5sTUoyWFU8bLS/4cIjfRF4HCX4MFcEKHkLYd 3shzYQUCHiJ8d1WWgyCqmkjBrc5frT2S5V5QWXqdOuHCGyX4diYtTc4wg2CBGQ0M/npq mFDkwWKGAtqwdF8DhTR9rhLPubi4CLShj9Q5YkqLNvqAu3t1tUwVK0b7eV1gcljNHazX cFOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=G7yHa1lP; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v2si6631648iot.49.2021.09.13.06.29.22; Mon, 13 Sep 2021 06:29:35 -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=@lunn.ch header.s=20171124 header.b=G7yHa1lP; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241695AbhIMN1W (ORCPT + 99 others); Mon, 13 Sep 2021 09:27:22 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:38174 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238675AbhIMNYs (ORCPT ); Mon, 13 Sep 2021 09:24:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=n0dItjjT5XWhIzVf5X3VVz9S0GyGpfJIrKxVaJFogkM=; b=G7yHa1lPBpB0jLb9Gp57umPchJ HV+9nAj2jNe9UhSFCddAmXJuJ1/xFSdtFahpTFxp1c5xnawrVvlMj52WyQxXc0zWmSyuNDurUiV3J sFvuwDGfkai0U7R+i86gbiTb2D5WKpht99PhdtkI5avtDmkC9wEHMU4CpdjVNrip+7Cw=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1mPlvU-006P5l-UG; Mon, 13 Sep 2021 15:23:12 +0200 Date: Mon, 13 Sep 2021 15:23:12 +0200 From: Andrew Lunn To: Vladimir Oltean Cc: Vladimir Oltean , netdev@vger.kernel.org, Florian Fainelli , Vivien Didelot , "David S. Miller" , Jakub Kicinski , Kurt Kanzenbach , Hauke Mehrtens , Woojung Huh , UNGLinuxDriver@microchip.com, Sean Wang , Landen Chao , DENG Qingfang , Matthias Brugger , Claudiu Manoil , Alexandre Belloni , Linus Walleij , George McCollister , Heiner Kallweit , Russell King , Oleksij Rempel , Michael Grzeschik , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Lino Sanfilippo Subject: Re: [RFC PATCH net 2/5] net: dsa: be compatible with masters which unregister on shutdown Message-ID: References: <20210912120932.993440-1-vladimir.oltean@nxp.com> <20210912120932.993440-3-vladimir.oltean@nxp.com> <20210912131837.4i6pzwgn573xutmo@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210912131837.4i6pzwgn573xutmo@skbuf> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > I will fix this when I send the v2 patch, but I will not send that now, > as I would like to get some feedback on the approach first. It would of been nice to have less boilerplate code, but the basic idea seems O.K. Have you tested it with a D in DSA system? Andrew