]> git.ipfire.org Git - thirdparty/openwrt.git/commit
airoha: account for L2 overhead in PPE MTU configuration 23875/head
authorSayantan Nandy <sayantann11@gmail.com>
Fri, 19 Jun 2026 06:48:29 +0000 (12:18 +0530)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 22 Jun 2026 10:13:01 +0000 (12:13 +0200)
commitd3e13c05f7165130cae4cff1efe892fc10f0229d
tree74e27fb5a89d9d4fb3bfe96f7c75eeaf2a207a53
parent4e2920fc0885d766519295cf7d3b84af589d7489
airoha: account for L2 overhead in PPE MTU configuration

The PPE egress MTU register and WAN MTU register compare against L2
frame length without FCS, as confirmed by the hardware reset value of
0x05EA (1514 = ETH_HLEN + 1500).

Account for VLAN_ETH_HLEN when programming these registers to prevent
valid VLAN-tagged frames from being incorrectly dropped by hardware.

Signed-off-by: Sayantan Nandy <sayantann11@gmail.com>
[ add commit description ]
Link: https://github.com/openwrt/openwrt/pull/23875
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/airoha/patches-6.18/920-16-net-airoha-Account-for-L2-overhead-in-PPE-MTU-configuration.patch [new file with mode: 0644]