net: dsa: Move padding into Broadcom tagger
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 4 Jan 2018 06:13:00 +0000 (22:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Jan 2018 16:21:31 +0000 (11:21 -0500)
commitbf08c34086d159edde5c54902dfa2caa4d9fbd8c
treed5cc59182650577d384f016233bc7d117dd6f57f
parent33c30a8b68cf837b2be3e885ae0a329b880d7666
net: dsa: Move padding into Broadcom tagger

Instead of having the different master network device drivers
potentially used by DSA/Broadcom tags, move the padding necessary for
the switches to accept short packets where it makes most sense: within
tag_brcm.c. This avoids multiplying the number of similar commits to
e.g: bgmac, bcmsysport, etc.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/tag_brcm.c