]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
net: dsa: tag_sja1105: Select CONFIG_PACKING
authorVladimir Oltean <olteanv@gmail.com>
Tue, 11 Jun 2019 18:47:45 +0000 (21:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jun 2019 05:42:19 +0000 (22:42 -0700)
The packing facility is needed to decode Ethernet meta frames containing
source port and RX timestamping information.

The DSA driver selects CONFIG_PACKING, but the tagger did not, and since
taggers can be now compiled as modules independently from the drivers
themselves, this is an issue now, as CONFIG_PACKING is disabled by
default on all architectures.

Fixes: e53e18a6fe4d ("net: dsa: sja1105: Receive and decode meta frames")
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/Kconfig

index d449f78c1bd0dffecc19d86ef3205d7ac738e5e6..6e942dda1bcda1f2a22bce94f3b9413e2b2cf844 100644 (file)
@@ -106,6 +106,7 @@ config NET_DSA_TAG_LAN9303
 config NET_DSA_TAG_SJA1105
        tristate "Tag driver for NXP SJA1105 switches"
        select NET_DSA_TAG_8021Q
+       select PACKING
        help
          Say Y or M if you want to enable support for tagging frames with the
          NXP SJA1105 switch family. Both the native tagging protocol (which