summaryrefslogtreecommitdiff
path: root/net/dsa/tag_ar9331.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2020-11-01 22:16:19 +0300
committerJakub Kicinski <kuba@kernel.org>2020-11-03 04:41:16 +0300
commit9b9826ae117f211bcbdc75db844d5fd8b159fc59 (patch)
treefb5d15da24870d2acdec6bd53a49301f96767866 /net/dsa/tag_ar9331.c
parent952a06345015867e3bd37f8d9045fc1429637d43 (diff)
downloadlinux-9b9826ae117f211bcbdc75db844d5fd8b159fc59.tar.xz
net: dsa: tag_gswip: let DSA core deal with TX reallocation
Now that we have a central TX reallocation procedure that accounts for the tagger's needed headroom in a generic way, we can remove the skb_cow_head call. This one is interesting, the DSA tag is 8 bytes on RX and 4 bytes on TX. Because DSA is unaware of asymmetrical tag lengths, the overhead/needed headroom is declared as 8 bytes and therefore 4 bytes larger than it needs to be. If this becomes a problem, and the GSWIP driver can't be converted to a uniform header length, we might need to make DSA aware of separate RX/TX overhead values. Cc: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dsa/tag_ar9331.c')
0 files changed, 0 insertions, 0 deletions