Re: [PATCH net] gve: fix header buffer corruption with header-split and HW-GRO

From: Eric Dumazet

Date: Wed Jun 17 2026 - 00:03:52 EST


On Tue, Jun 16, 2026 at 6:32 PM Joshua Washington <joshwash@xxxxxxxxxx> wrote:
>
> From: Ankit Garg <nktgrg@xxxxxxxxxx>
>
> The DQO RX datapath programs a per-buffer-queue-descriptor
> header_buf_addr at post time and reads the split header back at
> completion time. Both the post and the read currently index the
> header buffer by queue position rather than by the buffer's identity:
>
> - post (gve_rx_post_buffers_dqo): header_buf_addr is computed from
> bufq->tail
> - read (gve_rx_dqo): the header is read from desc_idx (the completion
> queue head index)
>
...

> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: 5e37d8254e7f ("gve: Add header split data path")
> Signed-off-by: Ankit Garg <nktgrg@xxxxxxxxxx>
> Reviewed-by: Praveen Kaligineedi <pkaligineedi@xxxxxxxxxx>
> Reviewed-by: Jordan Rhee <jordanrhee@xxxxxxxxxx>
> Reviewed-by: Harshitha Ramamurthy <hramamurthy@xxxxxxxxxx>
> Signed-off-by: Joshua Washington <joshwash@xxxxxxxxxx>
> ---

Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>