net: mscc: ocelot: transmit the "native VLAN" error via extack
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 19 Aug 2021 17:40:06 +0000 (20:40 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Aug 2021 13:39:52 +0000 (14:39 +0100)
commit01af940e9be623c5492ddb8a5d7f02586fea1c5b
tree46b34fbcfd28d00001547bc56580496829e133e0
parentf2aea90d0bf368bda6cd1c5a86fd84c7051b0e0e
net: mscc: ocelot: transmit the "native VLAN" error via extack

We need to reject some more configurations in future patches, convert
the existing one to netlink extack.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/ocelot/felix.c
drivers/net/ethernet/mscc/ocelot.c
drivers/net/ethernet/mscc/ocelot_net.c
include/soc/mscc/ocelot.h