aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2021-08-10 13:13:54 +0000
committerDavid S. Miller <[email protected]>2021-08-11 13:44:58 +0000
commit6bef794da6d3bd347c18e93ad33483bd8903d9fd (patch)
tree1ce71a803cc78ef91d743a51ced9be8606b429aa /drivers/fpga/fpga-mgr.c
parentnet: dsa: create a helper that strips EtherType DSA headers on RX (diff)
downloadkernel-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