aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/sja1105/sja1105_dynamic_config.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2020-05-12 20:20:35 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-12 13:08:08 -0700
commit2cafa72e516f61b6d82c2416b4f5963fb48fd9ce (patch)
tree7fe3125a0ec7c22404511b134e5a1b8ac16d3140 /drivers/net/dsa/sja1105/sja1105_dynamic_config.c
parentnet: dsa: tag_sja1105: implement sub-VLAN decoding (diff)
downloadlinux-dev-2cafa72e516f61b6d82c2416b4f5963fb48fd9ce.tar.xz
linux-dev-2cafa72e516f61b6d82c2416b4f5963fb48fd9ce.zip
net: dsa: sja1105: add a new best_effort_vlan_filtering devlink parameter
This devlink parameter enables the handling of DSA tags when enslaved to a bridge with vlan_filtering=1. There are very good reasons to want this, but there are also very good reasons for not enabling it by default. So a devlink param named best_effort_vlan_filtering, currently driver-specific and exported only by sja1105, is used to configure this. In practice, this is perhaps the way that most users are going to use the switch in. It assumes that no more than 7 VLANs are needed per port. 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>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105_dynamic_config.c')
0 files changed, 0 insertions, 0 deletions