]> git.baikalelectronics.ru Git - kernel.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)
commitfab6da3e66e454f145f2e2efed8dd8acef860061
tree052e42634fbcade7d76df01b3dcfe5eda0151f42
parent96a9a9d556670b45c0c0ed03fd9a1e40d79c3f47
parentff76df78a2dbf409cfbaff748fa6e249832538e3
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>