net: dsa: propagate extack to .port_vlan_filtering
Some drivers can't dynamically change the VLAN filtering option, or impose some restrictions, it would be nice to propagate this info through netlink instead of printing it to a kernel log that might never be read. Also netlink extack includes the module that emitted the message, which means that it's easier to figure out which ones are driver-generated errors as opposed to command misuse. Signed-off-by:Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by:
Florian Fainelli <f.fainelli@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/dsa/b53/b53_common.c 2 additions, 1 deletiondrivers/net/dsa/b53/b53_common.c
- drivers/net/dsa/b53/b53_priv.h 2 additions, 1 deletiondrivers/net/dsa/b53/b53_priv.h
- drivers/net/dsa/dsa_loop.c 2 additions, 1 deletiondrivers/net/dsa/dsa_loop.c
- drivers/net/dsa/hirschmann/hellcreek.c 2 additions, 1 deletiondrivers/net/dsa/hirschmann/hellcreek.c
- drivers/net/dsa/lantiq_gswip.c 7 additions, 3 deletionsdrivers/net/dsa/lantiq_gswip.c
- drivers/net/dsa/microchip/ksz8795.c 2 additions, 1 deletiondrivers/net/dsa/microchip/ksz8795.c
- drivers/net/dsa/microchip/ksz9477.c 2 additions, 1 deletiondrivers/net/dsa/microchip/ksz9477.c
- drivers/net/dsa/mt7530.c 2 additions, 2 deletionsdrivers/net/dsa/mt7530.c
- drivers/net/dsa/mv88e6xxx/chip.c 2 additions, 1 deletiondrivers/net/dsa/mv88e6xxx/chip.c
- drivers/net/dsa/ocelot/felix.c 2 additions, 1 deletiondrivers/net/dsa/ocelot/felix.c
- drivers/net/dsa/qca8k.c 2 additions, 1 deletiondrivers/net/dsa/qca8k.c
- drivers/net/dsa/realtek-smi-core.h 2 additions, 2 deletionsdrivers/net/dsa/realtek-smi-core.h
- drivers/net/dsa/rtl8366.c 2 additions, 1 deletiondrivers/net/dsa/rtl8366.c
- drivers/net/dsa/sja1105/sja1105.h 2 additions, 1 deletiondrivers/net/dsa/sja1105/sja1105.h
- drivers/net/dsa/sja1105/sja1105_devlink.c 1 addition, 1 deletiondrivers/net/dsa/sja1105/sja1105_devlink.c
- drivers/net/dsa/sja1105/sja1105_main.c 5 additions, 4 deletionsdrivers/net/dsa/sja1105/sja1105_main.c
- include/net/dsa.h 2 additions, 1 deletioninclude/net/dsa.h
- net/dsa/dsa_priv.h 2 additions, 1 deletionnet/dsa/dsa_priv.h
- net/dsa/port.c 11 additions, 7 deletionsnet/dsa/port.c
- net/dsa/slave.c 2 additions, 1 deletionnet/dsa/slave.c
Loading
Please register or sign in to comment