OSDN Git Service

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)
commit88be3263490514854a1445ae95560585601ff160
tree86986d9a367b3af440a2567c6294769ffd49eeb0
parent1a8e628c8a3e38af1392197adf086de7ce51d24f
parenta72808b65834e99534f6c5c7134c201c72fe92aa
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>