Sayantan NandyandSirherobrine23 9e432f8992 net: 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.

Rename the local variable from 'mtu' to 'len' in airoha_ppe_set_mtu()
since it now represents a frame length rather than an L3 MTU value.

Fixes: 99e204d255c9 ("net: airoha: Rework MTU configuration")

Signed-off-by: Sayantan Nandy <sayantann11@gmail.com>
2026-06-27 14:56:57 -03:00
2026-06-19 13:44:16 +02:00
2026-06-27 14:55:59 -03:00
2026-06-27 14:55:58 -03:00
2026-06-27 14:55:59 -03:00
2026-06-27 14:56:00 -03:00
2026-06-19 13:44:16 +02:00
2026-06-27 14:55:58 -03:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00
2026-06-27 14:55:37 -03:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00
2026-06-19 13:44:16 +02:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
S
Description
Linux Kernel with patches from openwrt and en7523 soc
Readme
6.8 GiB
Languages
C 97.3%
Assembly 1%
Shell 0.6%
Python 0.4%
Makefile 0.3%
Other 0.2%