diff options
author | Jan Hoffmann | 2021-09-01 20:49:33 +0200 |
---|---|---|
committer | David S. Miller | 2021-09-02 11:34:33 +0100 |
commit | 552799f8b3b0074d2617f53a63a088f9514a66e3 (patch) | |
tree | 7444c058e57545571ffbcb1404c544b97e2b2c1b /net/qrtr | |
parent | 025efa0a82dfa79ac2b126f622ba9244f795e707 (diff) |
net: dsa: lantiq_gswip: fix maximum frame length
Currently, outgoing packets larger than 1496 bytes are dropped when
tagged VLAN is used on a switch port.
Add the frame check sequence length to the value of the register
GSWIP_MAC_FLEN to fix this. This matches the lantiq_ppa vendor driver,
which uses a value consisting of 1518 bytes for the MAC frame, plus the
lengths of special tag and VLAN tags.
Fixes: 14fceff4771e ("net: dsa: Add Lantiq / Intel DSA driver for vrx200")
Cc: stable@vger.kernel.org
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/qrtr')
0 files changed, 0 insertions, 0 deletions