Thread (16 messages) 16 messages, 3 authors, 9d ago

Re: [PATCH net-next v2 2/7] net: bcmgenet: allow a continuation descriptor without the alignment pad

flat view

From: Florian Fainelli <florian.fainelli@broadcom.com>
Date: 2026-10-05 23:05:15
Also in: lkml

On 10/5/26 15:24, Nicolai Buchwitz wrote:
A frame longer than the packet ready threshold arrives in several
descriptors, each with its own status block. Only the first one also
carries the two alignment bytes. The length check assumes the pad is always
there, so a continuation holding a single byte looks a byte too short and
the whole frame is dropped.

Account for the pad on the first descriptor only.

The MTU cannot produce a frame past the threshold yet, so nothing hits this
today. It is preparation for the larger MTU.

Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>
Tested-by: Pierre-Marin Leclercq <redacted>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help