Message ID | 20190201220657.30170-1-f.fainelli@gmail.com |
---|---|
Headers | show
Return-Path: <netdev-owner@vger.kernel.org> X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="u8ki6fjS"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43rrrb01j5z9s4Z for <patchwork-incoming-netdev@ozlabs.org>; Sat, 2 Feb 2019 09:10:23 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726666AbfBAWIC (ORCPT <rfc822;patchwork-incoming-netdev@ozlabs.org>); Fri, 1 Feb 2019 17:08:02 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:35167 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726116AbfBAWIC (ORCPT <rfc822;netdev@vger.kernel.org>); Fri, 1 Feb 2019 17:08:02 -0500 Received: by mail-pg1-f194.google.com with SMTP id s198so3568264pgs.2; Fri, 01 Feb 2019 14:08:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=shRZcfZXSpoJNw7v6WydagomunSXUd4xLMj+YXXhPFg=; b=u8ki6fjS7Wgs0KVuSZQbLYuC2wJ251oxcy8yPX9nHhc8Ezbl8DLpv8CeCitVXvGwAA rnuqTJVaqHQBQJvJP1hHUK5KcqjAEQHHVT/C8L+zFqykgu0N/RZS1QLjFHcNeJ76ZSkr ajsEr2udb2xp/L4ez2UNkutsuSWETPcv+l9tx/FiGI5/5h5UhojYQzo/je7QukM00p9R eoYNz+OwwEg/6uGpdEeS7n+vNU4uUe9cr0ux0EqAWZC2wnTMTH/IwTSb8Y08k9HVe1Oh xobDZrrGWwWFm6Zj22Ffw/0fzUc7xnuMUoVNiOxN3TMqwv6i3RMwf1g3QIoRwRNaC9V3 RWjQ== 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=shRZcfZXSpoJNw7v6WydagomunSXUd4xLMj+YXXhPFg=; b=TaS6PQC1RbOBcmt/jwK3F0Cv7V74Kqu98Ofsmy+O6qm0cuml59kcxgRLFgNjtbt8O5 ZQDOIMxtPOwojMY89HIuNx6ctcQVgUl3D1PZx83EIuk2BlXABDWl/+3FI5vF7ZznY0uX Va7/fgfk5eAohz5XkkoHnERh7To/byyqKxjB8h5T8L/nEIVZdSyUYVIxESqy9aMH4e8g AS3DcaAsMqxbD4b0iP/EPurZfWQ4b8+3oWVGV+yLbvCwrQP0gSZk9dTGJs9bRlUOQQQ/ r33FFg+kR6WReHysi210RltXl73/SdooNOIEZqZFHIog9EqNkELPI+d+n6ZbQd2YTHpO CoXQ== X-Gm-Message-State: AHQUAubBHfAIsbIXOR6NJ1np5Oas+o+0u7W6ZgXOlwKeN4swZjsTBpPY 23OudUvplp3jKam7rn6+F4bk+Y5J X-Google-Smtp-Source: AHgI3IZiV0ZAgM57zVZuFPuxe6ng76m+RYxegGESNLbyEizeLeiowVe0Jk4CF4eMAJtIMvHPo5dw3A== X-Received: by 2002:a65:43c5:: with SMTP id n5mr4078173pgp.250.1549058880032; Fri, 01 Feb 2019 14:08:00 -0800 (PST) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.250]) by smtp.gmail.com with ESMTPSA id 78sm11142208pft.184.2019.02.01.14.07.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Feb 2019 14:07:59 -0800 (PST) From: Florian Fainelli <f.fainelli@gmail.com> To: netdev@vger.kernel.org Cc: Florian Fainelli <f.fainelli@gmail.com>, Michael Chan <michael.chan@broadcom.com>, "David S. Miller" <davem@davemloft.net>, Derek Chickles <dchickles@marvell.com>, Satanand Burla <sburla@marvell.com>, Felix Manlunas <fmanlunas@marvell.com>, Saeed Mahameed <saeedm@mellanox.com>, Leon Romanovsky <leon@kernel.org>, Jiri Pirko <jiri@mellanox.com>, Ido Schimmel <idosch@mellanox.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, Microchip Linux Driver Support <UNGLinuxDriver@microchip.com>, Jakub Kicinski <jakub.kicinski@netronome.com>, Ioana Radulescu <ruxandra.radulescu@nxp.com>, Ioana Ciornei <ioana.ciornei@nxp.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Ivan Vecera <ivecera@redhat.com>, Andrew Lunn <andrew@lunn.ch>, Vivien Didelot <vivien.didelot@gmail.com>, Dirk van der Merwe <dirk.vandermerwe@netronome.com>, "Francois H. Theron" <francois.theron@netronome.com>, Simon Horman <simon.horman@netronome.com>, Quentin Monnet <quentin.monnet@netronome.com>, Daniel Borkmann <daniel@iogearbox.net>, Eric Dumazet <edumazet@google.com>, John Hurley <john.hurley@netronome.com>, Edwin Peer <edwin.peer@netronome.com>, linux-kernel@vger.kernel.org (open list), linux-rdma@vger.kernel.org (open list:MELLANOX MLX5 core VPI driver), oss-drivers@netronome.com (open list:NETRONOME ETHERNET DRIVERS), devel@driverdev.osuosl.org (open list:STAGING SUBSYSTEM) Subject: [RFC net-next 00/13] Get rid of switchdev_ops Date: Fri, 1 Feb 2019 14:06:44 -0800 Message-Id: <20190201220657.30170-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
Get rid of switchdev_ops
|
expand
|
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!