diff options
| author | Vladimir Oltean <[email protected]> | 2021-08-10 13:13:54 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-08-11 13:44:58 +0000 |
| commit | 6bef794da6d3bd347c18e93ad33483bd8903d9fd (patch) | |
| tree | 1ce71a803cc78ef91d743a51ced9be8606b429aa /drivers/fpga/fpga-mgr.c | |
| parent | net: dsa: create a helper that strips EtherType DSA headers on RX (diff) | |
| download | kernel-6bef794da6d3bd347c18e93ad33483bd8903d9fd.tar.gz kernel-6bef794da6d3bd347c18e93ad33483bd8903d9fd.zip | |
net: dsa: create a helper which allocates space for EtherType DSA headers
Hide away the memmove used by DSA EtherType header taggers to shift the
MAC SA and DA to the left to make room for the header, after they've
called skb_push(). The call to skb_push() is still left explicit in
drivers, to be symmetric with dsa_strip_etype_header, and because not
all callers can be refactored to do it (for example, brcm_tag_xmit_ll
has common code for a pre-Ethernet DSA tag and an EtherType DSA 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 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
