commit | 1f66b0f0aec671f8fbc86d75b2efdf7c7e0f7880 | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <vladimir.oltean@nxp.com> | Tue May 12 20:20:26 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue May 12 13:08:07 2020 -0700 |
tree | 391a0b292f8a28f898f4e43ac7cd90a32a1677ff | |
parent | 54a0ed0df49609f4e3f098f8943e38e389dc2e15 [diff] |
net: dsa: tag_8021q: introduce a vid_is_dsa_8021q helper This function returns a boolean denoting whether the VLAN passed as argument is part of the 1024-3071 range that the dsa_8021q tagging scheme uses. 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>