Thread (13 messages) 13 messages, 2 authors, 2025-06-27

Re: [PATCH net 3/4] virtio-net: create a helper to check received mergeable buffer's length

From: Bui Quang Minh <hidden>
Date: 2025-06-26 15:37:46
Also in: bpf, lkml, virtualization

On 6/26/25 09:38, Jason Wang wrote:
On Thu, Jun 26, 2025 at 12:10 AM Bui Quang Minh
[off-list ref] wrote:
quoted
Currently, we have repeated code to check the received mergeable buffer's
length with allocated size. This commit creates a helper to do that and
converts current code to use it.

Signed-off-by: Bui Quang Minh <redacted>
I think it would be better to introduce this as patch 1, so a
mergeable XDP path can use that directly.

This will have a smaller changeset.
I'm just concerned that it might make backporting the fix harder because 
the fix depends on this refactor and this refactor touches some function 
that may create conflict.

Thanks,
Quang Minh.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help