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
..
2025-07-02 18:26:27 +02:00
2025-07-08 20:27:09 +01:00
2025-05-29 17:45:13 +01:00
2025-07-08 17:31:38 +01:00
2025-07-04 12:08:25 +02:00
2025-07-08 20:27:09 +01:00
2025-04-23 14:08:21 -07:00
2025-05-14 11:50:42 +02:00
2025-04-23 14:08:21 -07:00
2025-06-10 12:59:09 +02:00
2025-05-08 14:22:12 +02:00
2025-06-26 00:42:37 +02:00
2025-05-30 11:41:13 -04:00
2025-04-23 14:08:21 -07:00
2025-07-13 01:45:18 -04:00
2025-01-31 19:36:44 +01:00
2025-04-23 14:08:21 -07:00
2025-04-23 14:08:21 -07:00
2025-06-10 15:01:41 +08:00
2025-04-23 14:08:21 -07:00
2025-04-23 14:08:21 -07:00
2025-04-23 14:08:21 -07:00
2025-07-08 17:31:59 +01:00
2025-04-23 14:08:21 -07:00
2025-04-23 14:08:21 -07:00
2025-05-30 09:52:08 +02:00
2025-02-24 15:03:42 +00:00
2025-06-26 00:42:37 +02:00
2025-05-20 08:04:18 +02:00
2025-04-23 14:08:21 -07:00
2025-04-23 14:08:21 -07:00
2025-07-04 21:09:49 +10:00
2025-06-25 17:04:40 +02:00
2025-03-13 17:57:23 +01:00
2025-03-12 11:11:42 +01:00
2025-04-23 14:08:21 -07:00
2025-04-23 14:08:21 -07:00
2025-03-11 22:43:31 +10:00
2025-06-26 00:42:37 +02:00
2025-04-23 14:08:21 -07:00
2025-03-04 12:01:42 +01:00
2025-02-25 15:32:58 +00:00
2025-07-03 13:42:28 +02:00
2025-07-14 13:27:09 +08:00
2025-03-04 14:45:34 +01:00
2025-05-09 23:49:26 +03:00
2025-04-23 14:08:21 -07:00
2025-05-30 09:52:08 +02:00
2024-12-10 18:49:24 +01:00
2025-04-23 14:08:44 -07:00
2025-01-31 19:36:44 +01:00
2025-02-24 15:03:42 +00:00
2025-05-30 09:52:08 +02:00
2025-01-13 17:16:03 +01:00
2025-03-04 14:45:34 +01:00
2025-03-20 12:14:45 +01:00
2025-04-23 14:08:21 -07:00
2025-04-23 14:08:21 -07:00
2025-04-23 14:08:21 -07:00