]> www.infradead.org Git - users/jedix/linux-maple.git/commit
virtio_net: separate receive_mergeable
authorXuan Zhuo <xuanzhuo@linux.alibaba.com>
Mon, 8 Jul 2024 11:25:32 +0000 (19:25 +0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 15 Jul 2024 03:32:38 +0000 (20:32 -0700)
commit5db481059d79e304596881af0bd195a4418f987a
tree4dd1fe6831f52c60b3db6da63748513f673f3a1e
parentc86c120fde29dc659a50540f749b6033f7267a62
virtio_net: separate receive_mergeable

This commit separates the function receive_mergeable(),
put the logic of appending frag to the skb as an independent function.
The subsequent commit will reuse it.

Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://patch.msgid.link/20240708112537.96291-6-xuanzhuo@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/virtio_net.c