diff options
| author | Tobias Waldekranz <[email protected]> | 2020-11-15 00:45:57 +0100 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-11-17 09:16:12 -0800 |
| commit | 469ee5fe73d9b45eb4ebcdafa5f41fa654e483b1 (patch) | |
| tree | ff9dc8fb85bf0fd71295b37c46c58bff5001a35f /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | e468d141b993ec9e58bdf515ed32fd9eb4fccdd0 (diff) | |
net: dsa: tag_dsa: Unify regular and ethertype DSA taggers
Ethertype DSA encodes exactly the same information in the DSA tag as
the non-ethertype variety. So refactor out the common parts and reuse
them for both protocols.
This is ensures tag parsing and generation is always consistent across
all mv88e6xxx chips.
While we are at it, explicitly deal with all possible CPU codes on
receive, making sure to set offload_fwd_mark as appropriate.
Signed-off-by: Tobias Waldekranz <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions