diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-10-20 20:58:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-21 14:14:29 +0300 |
commit | d4004422f6f9fa8e55c04482008c1c9f9edd2d19 (patch) | |
tree | 69f90992ad618bc9e25e5538d8686b314eb5e779 /scripts | |
parent | bfbab3104413081907ad12dbec433f50fe3588cd (diff) | |
download | linux-d4004422f6f9fa8e55c04482008c1c9f9edd2d19.tar.xz |
net: mscc: ocelot: track the port pvid using a pointer
Now that we have a list of struct ocelot_bridge_vlan entries, we can
rewrite the pvid logic to simply point to one of those structures,
instead of having a separate structure with a "bool valid".
The NULL pointer will represent the lack of a bridge pvid (not to be
confused with the lack of a hardware pvid on the port, that is present
at all times).
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions