mbox series

[net-next,0/5] Propagate extack for switchdev VLANs from DSA

Message ID 20210213204319.1226170-1-olteanv@gmail.com (mailing list archive)
Headers show
Series Propagate extack for switchdev VLANs from DSA | expand

Message

Vladimir Oltean Feb. 13, 2021, 8:43 p.m. UTC
From: Vladimir Oltean <vladimir.oltean@nxp.com>

This series moves the restriction messages printed by the DSA core, and
by some individual device drivers, into the netlink extended ack
structure, to be communicated to user space where possible, or still
printed to the kernel log from the bridge layer.

Vladimir Oltean (5):
  net: bridge: remove __br_vlan_filter_toggle
  net: bridge: propagate extack through store_bridge_parm
  net: bridge: propagate extack through switchdev_port_attr_set
  net: dsa: propagate extack to .port_vlan_add
  net: dsa: propagate extack to .port_vlan_filtering

 drivers/net/dsa/b53/b53_common.c          |   6 +-
 drivers/net/dsa/b53/b53_priv.h            |   6 +-
 drivers/net/dsa/bcm_sf2_cfp.c             |   2 +-
 drivers/net/dsa/dsa_loop.c                |   6 +-
 drivers/net/dsa/hirschmann/hellcreek.c    |  15 +-
 drivers/net/dsa/lantiq_gswip.c            |  22 ++-
 drivers/net/dsa/microchip/ksz8795.c       |   6 +-
 drivers/net/dsa/microchip/ksz9477.c       |  10 +-
 drivers/net/dsa/mt7530.c                  |   7 +-
 drivers/net/dsa/mv88e6xxx/chip.c          |   6 +-
 drivers/net/dsa/ocelot/felix.c            |   6 +-
 drivers/net/dsa/qca8k.c                   |   6 +-
 drivers/net/dsa/realtek-smi-core.h        |   7 +-
 drivers/net/dsa/rtl8366.c                 |  14 +-
 drivers/net/dsa/sja1105/sja1105.h         |   3 +-
 drivers/net/dsa/sja1105/sja1105_devlink.c |   2 +-
 drivers/net/dsa/sja1105/sja1105_main.c    |  15 +-
 include/net/dsa.h                         |   6 +-
 include/net/switchdev.h                   |   3 +-
 net/bridge/br_mrp_switchdev.c             |   4 +-
 net/bridge/br_multicast.c                 |   6 +-
 net/bridge/br_netlink.c                   |   4 +-
 net/bridge/br_private.h                   |  17 ++-
 net/bridge/br_stp.c                       |   4 +-
 net/bridge/br_switchdev.c                 |   6 +-
 net/bridge/br_sysfs_br.c                  | 166 +++++++++++++++++-----
 net/bridge/br_vlan.c                      |  29 ++--
 net/dsa/dsa_priv.h                        |   7 +-
 net/dsa/port.c                            |  22 +--
 net/dsa/slave.c                           |  28 ++--
 net/dsa/switch.c                          |   9 +-
 net/switchdev/switchdev.c                 |  19 ++-
 32 files changed, 319 insertions(+), 150 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 15, 2021, 8:40 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Sat, 13 Feb 2021 22:43:14 +0200 you wrote:
> From: Vladimir Oltean <vladimir.oltean@nxp.com>
> 
> This series moves the restriction messages printed by the DSA core, and
> by some individual device drivers, into the netlink extended ack
> structure, to be communicated to user space where possible, or still
> printed to the kernel log from the bridge layer.
> 
> [...]

Here is the summary with links:
  - [net-next,1/5] net: bridge: remove __br_vlan_filter_toggle
    https://git.kernel.org/netdev/net-next/c/7a572964e0c4
  - [net-next,2/5] net: bridge: propagate extack through store_bridge_parm
    https://git.kernel.org/netdev/net-next/c/9e781401cbfc
  - [net-next,3/5] net: bridge: propagate extack through switchdev_port_attr_set
    https://git.kernel.org/netdev/net-next/c/dcbdf1350e33
  - [net-next,4/5] net: dsa: propagate extack to .port_vlan_add
    https://git.kernel.org/netdev/net-next/c/31046a5fd92c
  - [net-next,5/5] net: dsa: propagate extack to .port_vlan_filtering
    https://git.kernel.org/netdev/net-next/c/89153ed6ebc1

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Vladimir Oltean Feb. 15, 2021, 8:49 p.m. UTC | #2
On Mon, Feb 15, 2021 at 08:40:08PM +0000, patchwork-bot+netdevbpf@kernel.org wrote:
> Hello:
> 
> This series was applied to netdev/net-next.git (refs/heads/master):
> 
> On Sat, 13 Feb 2021 22:43:14 +0200 you wrote:
> > From: Vladimir Oltean <vladimir.oltean@nxp.com>
> > 
> > This series moves the restriction messages printed by the DSA core, and
> > by some individual device drivers, into the netlink extended ack
> > structure, to be communicated to user space where possible, or still
> > printed to the kernel log from the bridge layer.
> > 
> > [...]
> 
> Here is the summary with links:
>   - [net-next,1/5] net: bridge: remove __br_vlan_filter_toggle
>     https://git.kernel.org/netdev/net-next/c/7a572964e0c4
>   - [net-next,2/5] net: bridge: propagate extack through store_bridge_parm
>     https://git.kernel.org/netdev/net-next/c/9e781401cbfc
>   - [net-next,3/5] net: bridge: propagate extack through switchdev_port_attr_set
>     https://git.kernel.org/netdev/net-next/c/dcbdf1350e33
>   - [net-next,4/5] net: dsa: propagate extack to .port_vlan_add
>     https://git.kernel.org/netdev/net-next/c/31046a5fd92c
>   - [net-next,5/5] net: dsa: propagate extack to .port_vlan_filtering
>     https://git.kernel.org/netdev/net-next/c/89153ed6ebc1
> 
> You are awesome, thank you!
> --
> Deet-doot-dot, I am a bot.
> https://korg.docs.kernel.org/patchwork/pwbot.html

Ouch, I wasn't expecting you to merge these patches.
I had told Nikolay in patch 3 that I was going to resend after the merge window:
https://patchwork.kernel.org/project/netdevbpf/patch/20210213204319.1226170-4-olteanv@gmail.com/

Nonetheless, since there's going to be a short window of build breakage
in net-next when CONFIG_SWITCHDEV=n and/or CONFIG_BRIDGE_VLAN_FILTERING=n
regardless of whether you revert the series now or wait a bit, can I
just send the fixup patch for the function prototypes? Shouldn't take me
more than 15 minutes or so.