qemu-cr16/include/net
Laurent Vivier effdacbf28 net: Consolidate vhost feature bits into vhost_net structure
Previously, the vhost_net_get_feature_bits() function in
hw/net/vhost_net.c used a large switch statement to determine
the appropriate feature bits based on the NetClientDriver type.

This created unnecessary coupling between the generic vhost layer
and specific network backends (like TAP, vhost-user, and
vhost-vdpa).

This patch moves the definition of vhost feature bits directly into the
vhost_net structure for each relevant network client.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2025-07-14 13:27:09 +08:00
..
announce.h net: remove AnnounceTimer from typedefs.h 2024-05-03 15:47:48 +02:00
can_emu.h net/can: Add can_dlc2len and can_len2dlc for CAN FD. 2020-09-30 19:11:37 +02:00
can_host.h qom: fix objects with improper parent type 2020-10-12 11:50:22 -04:00
checksum.h net: checksum: Convert data to void * 2024-11-25 13:59:50 +08:00
eth.h net: mark struct ip_header as QEMU_PACKED 2024-11-18 13:45:45 +01:00
filter.h qapi: Move @String out of common.json to discourage reuse 2024-02-12 10:04:32 +01:00
net.h net: Add get_vhost_net callback to NetClientInfo 2025-07-14 13:27:09 +08:00
queue.h net: Remove deadcode 2024-10-03 17:26:05 +03:00
slirp.h net: Remove the deprecated -tftp, -bootp, -redir and -smb options 2018-08-31 09:53:03 +02:00
tap.h net: Add get_vhost_net callback to NetClientInfo 2025-07-14 13:27:09 +08:00
vhost-user.h net: Add get_vhost_net callback to NetClientInfo 2025-07-14 13:27:09 +08:00
vhost-vdpa.h net: Consolidate vhost feature bits into vhost_net structure 2025-07-14 13:27:09 +08:00
vhost_net.h net: Consolidate vhost feature bits into vhost_net structure 2025-07-14 13:27:09 +08:00