Skip to content
Commit d611e281 authored by Maciej Panek's avatar Maciej Panek Committed by Fabio Baltieri
Browse files

drivers: ethernet: adin2111: Add calculation of EBO in OA mode



Calculate the EBO properly, so the total frame written to TX FIFO
does not exceed maximum Ethernet frame length.
Makes the TCP stack to work properly, otherwise packets > 1472 are dopped,
as they would be padded by 64 more bytes
and hence exceed maximum Ethernet frame size.

Signed-off-by: default avatarMaciej Panek <panekmaciej@outlook.com>
parent 158fe71a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment