Laurent Vivier
ba5acc5d6e
net: Add is_vhost_user flag to vhost_net struct
...
Introduce a boolean is_vhost_user field to the vhost_net
structure. This flag is initialized during vhost_net_init based
on whether the backend is vhost-user.
This refactoring simplifies checks for vhost-user specific behavior,
replacing direct comparisons of 'net->nc->info->type' with the new
flag. It improves readability and encapsulates the backend type
information directly within the vhost_net instance.
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
2024-10-15 15:16:17 +01: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
2024-10-01 14:41:10 +01: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
2024-11-04 16:03:24 -05: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
2024-09-24 11:33:35 +02:00
2025-04-23 14:08:21 -07:00
2025-04-23 14:08:21 -07:00