diff options
author | Birger Koblitz <mail@birger-koblitz.de> | 2021-06-06 16:20:59 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-06-22 23:23:00 +0200 |
commit | 76428494c323d0bb6572f9a2d247092b322fa221 (patch) | |
tree | 7e65f5834a0d9340624aab2691247884ec183375 /package/kernel/trelay/files | |
parent | bf98faaac8ed24cf7d3d93dd4fcd7304d109363b (diff) | |
download | upstream-76428494c323d0bb6572f9a2d247092b322fa221.tar.gz upstream-76428494c323d0bb6572f9a2d247092b322fa221.tar.bz2 upstream-76428494c323d0bb6572f9a2d247092b322fa221.zip |
realtek: Fix buffer length calculation on RTL8380 with CRC offload
Fixes the buffer and packet length calculations for Ethernet TX on
the RTL8380 SoC when CRC calculation offload is enabled.
CRC-offload is always done by the SoC, but additional CRC
calculation was previously done also by the kernel.
It also fixes detection of the DSA tag for packets on RTL8390
SoCs for ports > 28.
v2 has correct whitespace
Signed-off-by: Birger Koblitz <mail@birger-koblitz.de>
Diffstat (limited to 'package/kernel/trelay/files')
0 files changed, 0 insertions, 0 deletions