Commit 3a5f6c2f authored by Andrew Lunn's avatar Andrew Lunn Committed by Khasim Syed Mohammed
Browse files

BACKPORT: UPSTREAM: net: dsa: Add overhead to tag protocol ops.



Each DSA tag protocol needs to add additional headers to the Ethernet
frame in order to direct it towards a specific switch egress port. It
must also remove the head from a frame received from a
switch. Indicate the maximum size of these headers in the tag protocol
ops structure, so the core can take these overheads into account.

Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
(cherry picked from commit a5dd3087
https://github.com/torvalds/linux.git

)
Signed-off-by: default avatarKhasim Syed Mohammed <khasim.mohammed@linaro.org>
parent 051b886b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment