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)
commit6358f38c062d791ec1b617738f5c2de54f0ff6db
tree2f420c84b4097815ced4627f150970a0f47c7a0a
parent7fa0043d5c74c6ef6ab58ecf7528fd33c6cb07a8
net: dsa: tag_sja1105: Select CONFIG_PACKING

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