]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'Fixes-for-DSA-tagging-using-802-1Q'
authorDavid S. Miller <davem@davemloft.net>
Thu, 30 May 2019 21:47:14 +0000 (14:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 May 2019 21:47:14 +0000 (14:47 -0700)
commitc3bc6debb4c7555e7fb1b104ffda416e89570b50
tree052e42634fbcade7d76df01b3dcfe5eda0151f42
parent21808437214637952b61beaba6034d97880fbeb3
parent0471dd429cea6507a4000169ff6a33f41ba371b3
Merge branch 'Fixes-for-DSA-tagging-using-802-1Q'

Vladimir Oltean says:

====================
Fixes for DSA tagging using 802.1Q

During the prototyping for the "Decoupling PHYLINK from struct
net_device" patchset, the CPU port of the sja1105 driver was moved to a
different spot.  This uncovered an issue in the tag_8021q DSA code,
which used to work by mistake - the CPU port was the last hardware port
numerically, and this was masking an ordering issue which is very likely
to be seen in other drivers that make use of 802.1Q tags.

A question was also raised whether the VID numbers bear any meaning, and
the conclusion was that they don't, at least not in an absolute sense.
The second patch defines bit fields inside the DSA 802.1Q VID so that
tcpdump can decode it unambiguously (although the meaning is now clear
even by visual inspection).
====================

Signed-off-by: David S. Miller <davem@davemloft.net>