]> git.proxmox.com Git - mirror_qemu.git/commit - net/colo.h
Add a function named packet_new_nocopy for COLO.
authorRao, Lei <lei.rao@intel.com>
Tue, 8 Jun 2021 08:23:29 +0000 (16:23 +0800)
committerJason Wang <jasowang@redhat.com>
Fri, 11 Jun 2021 02:30:13 +0000 (10:30 +0800)
commit9b492719dd0445c676da6805c84f9a5893583d1c
tree10a55b5c2d74ea9097a7e30f1b6cda6711bd4a39
parent3ba024457facdb6b0ef9c5c742261d4080a80a11
Add a function named packet_new_nocopy for COLO.

Use the packet_new_nocopy instead of packet_new in the
filter-rewriter module. There will be one less memory
copy in the processing of each network packet.

Signed-off-by: Lei Rao <lei.rao@intel.com>
Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/colo.c
net/colo.h
net/filter-rewriter.c