You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/net
Daniel P. Berrangé 837b87c4c5 net/stream: skip automatic zero-init of large array
The 'net_stream_send' method has a 68k byte array used for copying
data between guest and host. Skip the automatic zero-init of this
array to eliminate the performance overhead in the I/O hot path.

The 'buf1' array will be fully initialized when reading data off
the network socket.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Message-id: 20250610123709.835102-32-berrange@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2 weeks ago
..
can qom: Make InterfaceInfo[] uses const 2 months ago
af-xdp.c net/af-xdp.c: Don't leak sock_fds array in net_init_af_xdp() 1 year ago
announce.c
checksum.c net: checksum: Convert data to void * 7 months ago
clients.h net: add initial support for AF_XDP network backend 2 years ago
colo-compare.c qom: Make InterfaceInfo[] uses const 2 months ago
colo-compare.h
colo-stubs.c colo: move stubs out of stubs/ 1 year ago
colo.c
colo.h
dgram.c win32: replace closesocket() with close() wrapper 2 years ago
dump.c qom: Have class_init() take a const data argument 2 months ago
eth.c net/eth: Clean up local variable shadowing 2 years ago
filter-buffer.c qom: Have class_init() take a const data argument 2 months ago
filter-mirror.c qom: Have class_init() take a const data argument 2 months ago
filter-replay.c qom: Have class_init() take a const data argument 2 months ago
filter-rewriter.c qom: Have class_init() take a const data argument 2 months ago
filter.c qom: Make InterfaceInfo[] uses const 2 months ago
hub.c include: Rename sysemu/ -> system/ 6 months ago
hub.h
l2tpv3.c net: Increase L2TPv3 buffer to fit jumboframes 2 years ago
meson.build net: fix build when libbpf is disabled, but libxdp is enabled 8 months ago
net-hmp-cmds.c qapi: Move include/qapi/qmp/ to include/qobject/ 5 months ago
net.c net: move backend cleanup to NIC cleanup 4 months ago
netmap.c tap: Remove qemu_using_vnet_hdr() 1 year ago
queue.c net: Remove deadcode 9 months ago
slirp.c qapi: Move include/qapi/qmp/ to include/qobject/ 5 months ago
socket.c net/socket: skip automatic zero-init of large array 2 weeks ago
stream.c net/stream: skip automatic zero-init of large array 2 weeks ago
tap-bsd.c tap: Remove tap_probe_vnet_hdr_len() 1 year ago
tap-linux.c tap-linux: Open ipvtap and macvtap 4 months ago
tap-linux.h tap: Add USO support to tap device. 2 years ago
tap-solaris.c tap: Remove tap_probe_vnet_hdr_len() 1 year ago
tap-stub.c tap: Remove tap_probe_vnet_hdr_len() 1 year ago
tap-win32.c net/tap-win32: Fix gcc 14 format truncation errors 8 months ago
tap.c include: Rename sysemu/ -> system/ 6 months ago
tap_int.h tap: Remove tap_probe_vnet_hdr_len() 1 year ago
trace-events vdpa: add trace event for vhost_vdpa_net_load_mq 1 year ago
trace.h
util.c
util.h
vde.c
vhost-user-stub.c
vhost-user.c net: vhost-user: add QAPI events to report connection state 4 months ago
vhost-vdpa-stub.c
vhost-vdpa.c vdpa: move iova_tree allocation to net_vhost_vdpa_init 4 weeks ago
vmnet-bridged.m net/vmnet: Drop ifdef for macOS versions older than 12.0 1 year ago
vmnet-common.m error: Strip trailing '\n' from an error string argument 3 months ago
vmnet-host.c net/vmnet: Drop ifdef for macOS versions older than 12.0 1 year ago
vmnet-shared.c net/vmnet: Drop ifdef for macOS versions older than 12.0 1 year ago
vmnet_int.h vmnet: stop recieving events when VM is stopped 2 years ago