Thread (3 messages) flat view 3 messages, 3 authors, 2021-09-23

Re: [PATCH v2 net-next] net: dsa: sja1105: stop using priv->vlan_aware

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2021-09-22 18:41:35

On 9/22/21 11:36 AM, Vladimir Oltean wrote:
Now that the sja1105 driver is finally sane enough again to stop having
a ternary VLAN awareness state, we can remove priv->vlan_aware and query
DSA for the ds->vlan_filtering value (for SJA1105, VLAN filtering is a
global property).

Also drop the paranoid checking that DSA calls ->port_vlan_filtering
multiple times without the VLAN awareness state changing. It doesn't,
the same check is present inside dsa_port_vlan_filtering too.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help