]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dsa-tagger-helpers'
authorDavid S. Miller <davem@davemloft.net>
Wed, 11 Aug 2021 13:44:59 +0000 (14:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Aug 2021 13:44:59 +0000 (14:44 +0100)
commitdb4a0ce10359e2a9e8210fad6b5f4fcdce5f46dd
tree86986d9a367b3af440a2567c6294769ffd49eeb0
parent3ddbbb5e35f4eb531f422d644c2715586a2f7089
parente0186451ef28509b7a1976fabef71f6ef4a6322e
Merge branch 'dsa-tagger-helpers'

Vladimir Oltean says:

====================
DSA tagger helpers

The goal of this series is to minimize the use of memmove and skb->data
in the DSA tagging protocol drivers. Unfiltered access to this level of
information is not very friendly to drive-by contributors, and sometimes
is also not the easiest to review.

For starters, I have converted the most common form of DSA tagging
protocols: the DSA headers which are placed where the EtherType is.

The helper functions introduced by this series are:
- dsa_alloc_etype_header
- dsa_strip_etype_header
- dsa_etype_header_pos_rx
- dsa_etype_header_pos_tx

This series is just a resend as non-RFC of v1.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>