diff options
| author | Paolo Abeni <pabeni@redhat.com> | 2026-11-19 12:47:30 +0100 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-11-19 12:47:31 +0100 |
| commit | a8aeac0b1883206cf72461258e6bfd991589049e (patch) | |
| tree | 7b7c32f0aa7606a729c1d54c0ceecb967ef2c638 /tools/perf/scripts/python/bin | |
| parent | 952d16c5ee62cb8b5fde6ed5ec8ed6c5df77c934 (diff) | |
| parent | 2dd48c4615a67ebb1762c2b0d79801be1949fcfb (diff) | |
Merge branch 'net-stmmac-deliver-frames-with-rx-checksum-errors-to-the-stack'
Christian Schmidbauer says:
====================
net: stmmac: deliver frames with Rx checksum errors to the stack
On dwmac1000 the MAC drops every frame that fails Rx checksum validation
before the driver sees it. The enhanced descriptor parser would discard
such a frame even if the MAC delivered it. As a result, a VXLAN tunnel
over IPv6 with zero UDP checksums receives nothing while Rx checksum
offload is on, and neither rx_dropped nor rx_errors shows the loss.
Patches 2 and 3 deliver these frames with CHECKSUM_NONE instead, as
commit fe4042797651 ("net: stmmac: dwmac4: stop hardware from dropping
checksum-error packets") did for dwmac4.
Patch 1 makes the AF_XDP zero-copy Rx path honour the checksum error
status. That path already receives such frames on dwmac4, and patches
2 and 3 make them reach it on dwmac1000 as well. Patch 3 depends on
patches 1 and 2.
Tested on an Aruba AP-325 (ipq806x-gmac-dwmac) on the net tree, with
and without the series.
Not tested:
- Patch 1 was only compile-tested, as an AF_XDP zero-copy setup was not
available.
- dwmac-loongson, which also uses dwmac1000_dma_ops.
- Cores with normal descriptors, such as Rockchip RK3288, RK3328 and
RK3399.
v2: https://lore.kernel.org/netdev/20261104151914.2651241-1-opensource@grische.xyz/
v1: https://lore.kernel.org/netdev/20261020190319.884375-1-opensource@grische.xyz/
====================
Link: https://patch.msgid.link/20261114133640.3285413-1-opensource@grische.xyz
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
