Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp1815610ima; Sat, 2 Feb 2019 08:02:01 -0800 (PST) X-Google-Smtp-Source: AHgI3IYlYJMdwz4x/+/ydLRlhrhhZeO4H7ibHsUHmWrOXB7GbeoYxj6amKoica8BPEz15Kn7bHX/ X-Received: by 2002:a63:4665:: with SMTP id v37mr6736948pgk.425.1549123321203; Sat, 02 Feb 2019 08:02:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549123321; cv=none; d=google.com; s=arc-20160816; b=Vp4RPvoGBxP/x0rEX3S574A6ReVN4eOUDDnDa9xmATF2dJQ+obEjPoQJxu70rmI47p MHMjulUiqhu1D37nTFbpJ6WGpWhJgXLtrU4D7z3+AWG3RKHboq9JWYyK7hJ0Nov+wCpt G8SbUq5HRk2P1l4rN/66hiJvd2rSFS5NF0bFK7w+M2URP30DivNOxC8UiN7TxEvzwHXK d9m+VcONKUqOR02Z98HzOuMbRraXfdGiU3GddPjdIRRHS1zrtVfL3AvcYAzFf6UtCZTt KcQwEyXMZfhFt/QA7L0rdADN31JISgRDArRRvVwMVJNrUC1n/gO1+nckgdlup9Agad1G 9VkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=97g4P7ElyV4vGOSQXSTGIwWc8CwGSr5dI2uy0oN/ke0=; b=GW49VR1ztAicmgmJ68drBCD1KPULjUEZYJXQt1DcHqdqgKZq6xFPkmB13EtbiRAaOY jSAg91YmdQvMPjX6AiBtLjfMz246gt7sYFUL8nE+Pw8X4h0Kp3LvICrRaoVZ2UKxchx4 U0s7f68SN9E98mY/e3itz3+Ri8Ck2PouRl2x5GxrcEqF29MGYllggjSpjoo0UJh8QPtA QLbSJ5vlQ+3Xjwjng6LjMRdZ7DdAGyl6/cqmwEEP3SFmetWzquYKmh7rf6qgNfJRSLro hln27knTWuR89VHFWWCgg7mgq3RnGHozEx/T+ZfZyE3qGcuaHc18zkbKJXgQHzxkmIxL 4AMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=vIKlbGZC; 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 j10si3968218plg.123.2019.02.02.08.01.45; Sat, 02 Feb 2019 08:02:01 -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=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=vIKlbGZC; 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 S1728194AbfBBQBi (ORCPT + 99 others); Sat, 2 Feb 2019 11:01:38 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:39195 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728024AbfBBQBh (ORCPT ); Sat, 2 Feb 2019 11:01:37 -0500 Received: by mail-wm1-f67.google.com with SMTP id y8so9112393wmi.4 for ; Sat, 02 Feb 2019 08:01:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=97g4P7ElyV4vGOSQXSTGIwWc8CwGSr5dI2uy0oN/ke0=; b=vIKlbGZCRB6RUUrqRDjFL0wm0q7rN5iLgMgWvhTpqBx9Tj2izGRMA9drFIhg/8IGLO Xw6K6cUIEIaPciX7N66JvOD/fhYkztm51qxE9lvmFUKjeSx9PsBWcfEoFlXbUQ2oUUvT 3cVh4syVB5lhCbiIS1zLEULZVYKImwYKg3w//EgjZtrSn5PGo/Ssmszs2G49d64OTCGv h02NZgp1nSVpDac8sOkiKxJK34OzZ7RspUDqEfZjV6t+fWpcZngYcLsNJmZvazTjRjIX Xc1ZbQUYT6td1cROl2qabIEMow1SqYaDjknNzA9OAOetP/SfewafjItfedNXrTPhS9Rf 044Q== 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:user-agent; bh=97g4P7ElyV4vGOSQXSTGIwWc8CwGSr5dI2uy0oN/ke0=; b=H0slA/xVNwZDvgUSwDayPRCm2BSdF9TwK+IEyNYhuYVJMqeiA88rYttudOqZWQQXpx lRVNN2pMTpD66wephfb/BErFQsonB0DuGmj2uBl2Wjs3fvlg0gHJFNewaVlaXJ8ek4NY 28hB7n2jTBhwe6kp0Xgz50cK3GJ0B4YkD6NV9u7uZpsVczUZVSLbBh7MI+umy/zAMb6U zKU1XoSDYKNLG5vZqi/pS/zReYTxJbSXdvWsqvZ2vvQ0uUZyrqfWK4AShDS3s4NkYTzZ YpjTGd/M813y+etHSmQBPJbFzRxuI9T8RXQs/7xfS4vPjywW8pWg9zhKWitDybK5Ezid /Q/g== X-Gm-Message-State: AHQUAuacFr4Co7wnjOB8eR0/lnN+GRNftA1vMTi3mUEDYWuMR3wPxm3s OOTvM0hOqt38NgnlfPV+nznH3g== X-Received: by 2002:a1c:2902:: with SMTP id p2mr6645449wmp.19.1549123295584; Sat, 02 Feb 2019 08:01:35 -0800 (PST) Received: from localhost (jirka.pirko.cz. [84.16.102.26]) by smtp.gmail.com with ESMTPSA id m13sm5992195wmd.6.2019.02.02.08.01.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 02 Feb 2019 08:01:35 -0800 (PST) Date: Sat, 2 Feb 2019 16:52:31 +0100 From: Jiri Pirko To: Florian Fainelli Cc: netdev@vger.kernel.org, Michael Chan , "David S. Miller" , Derek Chickles , Satanand Burla , Felix Manlunas , Saeed Mahameed , Leon Romanovsky , Jiri Pirko , Ido Schimmel , Alexandre Belloni , Microchip Linux Driver Support , Jakub Kicinski , Ioana Radulescu , Ioana Ciornei , Greg Kroah-Hartman , Ivan Vecera , Andrew Lunn , Vivien Didelot , Dirk van der Merwe , "Francois H. Theron" , Simon Horman , Quentin Monnet , Daniel Borkmann , Eric Dumazet , John Hurley , Edwin Peer , open list , "open list:MELLANOX MLX5 core VPI driver" , "open list:NETRONOME ETHERNET DRIVERS" , "open list:STAGING SUBSYSTEM" Subject: Re: [RFC net-next 00/13] Get rid of switchdev_ops Message-ID: <20190202155231.GD2778@nanopsycho> References: <20190201220657.30170-1-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190201220657.30170-1-f.fainelli@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fri, Feb 01, 2019 at 11:06:44PM CET, f.fainelli@gmail.com wrote: >Hi all, > >This patch series converts SWITCHDEV_PORT_ATTR_{GET,SET} to use a >blocking notifier, similar to how SWITCHDEV_PORT_OBJ_{ADD,DEL} has been >changed recently by Petr. > >This was suggested by Ido to help with a particular use case I have >where I want to be able to veto a switchdev bridge attribute from a >driver (multicast_snooping). > >Please review since I may not have gotten the driver abstraction right, >especially for mlx5e and nfp since these are *hum* *hum* large drivers. Looks fine. Thanks!