Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp1105370ima; Wed, 6 Feb 2019 13:53:04 -0800 (PST) X-Google-Smtp-Source: AHgI3IaMJ8SQ9yktJB0VtA78s512PR5ERSH0vtVlJiw8qjJC7CO0qtCFV/3lz0TuvdBwgrzRK115 X-Received: by 2002:a17:902:a586:: with SMTP id az6mr12897927plb.298.1549489984573; Wed, 06 Feb 2019 13:53:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549489984; cv=none; d=google.com; s=arc-20160816; b=QI61ALDTvVszvlTa3sI1ERZ+LTioWs8nU8gtfGCBFzwpULJ4jQZAMH225u7oRKLRoa 1/tr/tBx68p5dJXmCw8YBl5FIFvRIlru4vaPjNOsSoz28Rrx3/0fMV1MpkFkEBx1x868 vC+g5qkWfejcnv0M6tjrhDU4kRD3JfHiMxCy5wJLoNo1OimaHbBWC4GUTtGaGlvFSviI Zj935L278/fzJzvLgSdBVLwLKx56YFYXITJSszEyeuwSm+a0+zv+s98eKPgIdzGAC/MI dyeGGdKcHR/20CSEOd6Sdnz7zHxGjOJtYU7AUtFciW9UUH2yZolZHWAZ6OrnG9t9xKSY Jv1A== 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=DoSvdUumWenr9Gc3yLxFj4L+VXHeqoZu8bjGGvWm4ic=; b=QRqILUDEaS9MJJK3r6P5m3XVSMHa5xjvNSDvhCgtfb4ejws8x7a8gcRn9qC9oeVGHF ff87j8BpI9gKCy8pUl7v7GoazdeS+soWzeT59z46cNX5K9VaHLrmoKgQLXHq6fqYE4SQ 2RA3qaLtBRCCU6F0cll9mlvPRY0UMQnIr4EDAwV5g1AKo3a1fsSvOhWloqHd/Qmg9W92 uj+QPx9mgtPk/H6231SAPURnckFRjr+vjJ2cGgy6mRGyvAx8dZgvtqF/im6pHZNlxmhi 3iGFX/LbuCjPx1whN5mV7XiJdw89gOOYih/xjGDhdcIsoe2ivpJoOGlS9kDBDkzICX5t MPWA== 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 b13si3088402plm.63.2019.02.06.13.52.47; Wed, 06 Feb 2019 13:53:04 -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 S1726624AbfBFVuw (ORCPT + 99 others); Wed, 6 Feb 2019 16:50:52 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:36754 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725982AbfBFVuw (ORCPT ); Wed, 6 Feb 2019 16:50:52 -0500 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::bf5]) (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 42C3F1401291C; Wed, 6 Feb 2019 13:50:51 -0800 (PST) Date: Wed, 06 Feb 2019 13:50:50 -0800 (PST) Message-Id: <20190206.135050.939253959263316807.davem@davemloft.net> To: f.fainelli@gmail.com Cc: netdev@vger.kernel.org, idosch@mellanox.com, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, oss-drivers@netronome.com, devel@driverdev.osuosl.org, bridge@lists.linux-foundation.org Subject: Re: [PATCH net-next v4 00/12] net: Introduce ndo_get_port_parent_id() From: David Miller In-Reply-To: <20190206174546.23597-1-f.fainelli@gmail.com> References: <20190206174546.23597-1-f.fainelli@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 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]); Wed, 06 Feb 2019 13:50:51 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Florian Fainelli Date: Wed, 6 Feb 2019 09:45:34 -0800 > Based on discussion with Ido and feedback from Jakub there are clearly > two classes of users that implement SWITCHDEV_ATTR_ID_PORT_PARENT_ID: > > - PF/VF drivers which typically only implement return the port's parent > ID, yet have to implement switchdev_port_attr_get() just for that > > - Ethernet switch drivers: mlxsw, ocelot, DSA, etc. which implement more > attributes which we want to be able to eventually veto in the context > of the caller, thus making them candidates for using a blocking notifier > chain > > Changes in v4: .. Series applied, thanks Florian. I'll push this out to net-next after my build tests complete.