]> 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)
commita035ec8d167442132623222e0d41fe67e66a1f8a
tree86986d9a367b3af440a2567c6294769ffd49eeb0
parent1bf6103c2ddaecc59364fa64182b804da85138a0
parentab902a406aed68301cfcb6b6558eb0a65026d4ef
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>