diff options
| author | Vladimir Oltean <[email protected]> | 2021-08-10 16:13:53 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-08-11 14:44:58 +0100 |
| commit | f1dacd7aea34333620bd5177a8808a3296a63184 (patch) | |
| tree | 273cc438c8f33fc92fc42757b8b10eff1c82bd74 /tools/perf/scripts/python | |
| parent | 1a8e628c8a3e38af1392197adf086de7ce51d24f (diff) | |
net: dsa: create a helper that strips EtherType DSA headers on RX
All header taggers open-code a memmove that is fairly not all that
obvious, and we can hide the details behind a helper function, since the
only thing specific to the driver is the length of the header tag.
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions