/openbmc/qemu/hw/net/ |
H A D | vhost_net-stub.c | 28 struct vhost_net *vhost_net_init(VhostNetOptions *options) in vhost_net_init() 46 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup() 50 uint64_t vhost_net_get_features(struct vhost_net *net, uint64_t features) in vhost_net_get_features() 55 int vhost_net_get_config(struct vhost_net *net, uint8_t *config, in vhost_net_get_config() 60 int vhost_net_set_config(struct vhost_net *net, const uint8_t *data, in vhost_net_set_config() 66 void vhost_net_ack_features(struct vhost_net *net, uint64_t features) in vhost_net_ack_features() 94 int vhost_net_notify_migration_done(struct vhost_net *net, char* mac_addr) in vhost_net_notify_migration_done() 109 int vhost_net_set_mtu(struct vhost_net *net, uint16_t mtu) in vhost_net_set_mtu()
|
H A D | vhost_net.c | 99 static const int *vhost_net_get_feature_bits(struct vhost_net *net) in vhost_net_get_feature_bits() 124 uint64_t vhost_net_get_features(struct vhost_net *net, uint64_t features) in vhost_net_get_features() 129 int vhost_net_get_config(struct vhost_net *net, uint8_t *config, in vhost_net_get_config() 134 int vhost_net_set_config(struct vhost_net *net, const uint8_t *data, in vhost_net_set_config() 140 void vhost_net_ack_features(struct vhost_net *net, uint64_t features) in vhost_net_ack_features() 170 struct vhost_net *net; in vhost_net_disable_notifiers_nvhosts() 230 struct vhost_net *net; in vhost_net_enable_notifiers() 318 struct vhost_net *vhost_net_init(VhostNetOptions *options) in vhost_net_init() 322 struct vhost_net *net = g_new0(struct vhost_net, 1); in vhost_net_init() 397 static void vhost_net_set_vq_index(struct vhost_net *net, int vq_index, in vhost_net_set_vq_index() [all …]
|
H A D | meson.build | 51 …ystem_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost_net.c'), if_false: files('vhost_net-… 53 system_ss.add(files('vhost_net-stub.c'))
|
H A D | virtio-net.c | 3957 struct vhost_net *net; in virtio_net_get_vhost()
|
/openbmc/qemu/net/ |
H A D | vhost-user.c | 28 VHostNetState *vhost_net; member 38 return s->vhost_net; in vhost_user_get_vhost_net() 53 if (s->vhost_net) { in vhost_user_save_acked_features() 54 uint64_t features = vhost_net_get_acked_features(s->vhost_net); in vhost_user_save_acked_features() 71 if (s->vhost_net) { in vhost_user_stop() 73 vhost_net_cleanup(s->vhost_net); in vhost_user_stop() 82 struct vhost_net *net = NULL; in vhost_user_start() 113 if (s->vhost_net) { in vhost_user_start() 114 vhost_net_cleanup(s->vhost_net); in vhost_user_start() 115 g_free(s->vhost_net); in vhost_user_start() [all …]
|
H A D | tap.c | 62 VHostNetState *vhost_net; member 293 if (s->vhost_net) { in tap_cleanup() 294 vhost_net_cleanup(s->vhost_net); in tap_cleanup() 295 g_free(s->vhost_net); in tap_cleanup() 296 s->vhost_net = NULL; in tap_cleanup() 380 s->vhost_net = NULL; in net_tap_fd_init() 716 s->vhost_net = vhost_net_init(&options); in net_init_tap_one() 717 if (!s->vhost_net) { in net_init_tap_one() 987 return s->vhost_net; in tap_get_vhost_net()
|
H A D | vhost-vdpa.c | 38 VHostNetState *vhost_net; member 139 return s->vhost_net; in vhost_vdpa_get_vhost_net() 175 static int vhost_vdpa_net_check_device_id(struct vhost_net *net) in vhost_vdpa_net_check_device_id() 193 struct vhost_net *net = NULL; in vhost_vdpa_add() 210 s->vhost_net = net; in vhost_vdpa_add() 237 if (s->vhost_net) { in vhost_vdpa_cleanup() 238 vhost_net_cleanup(s->vhost_net); in vhost_vdpa_cleanup() 239 g_free(s->vhost_net); in vhost_vdpa_cleanup() 240 s->vhost_net = NULL; in vhost_vdpa_cleanup() 268 features = vhost_net_get_features(s->vhost_net, features); in vhost_vdpa_has_ufo()
|
H A D | tap-win32.c | 707 struct vhost_net *tap_get_vhost_net(NetClientState *nc) in tap_get_vhost_net()
|
/openbmc/qemu/include/net/ |
H A D | vhost_net.h | 7 struct vhost_net; 8 typedef struct vhost_net VHostNetState; 19 struct vhost_net *vhost_net_init(VhostNetOptions *options); 31 int vhost_net_get_config(struct vhost_net *net, uint8_t *config, 34 int vhost_net_set_config(struct vhost_net *net, const uint8_t *data, 48 int vhost_net_set_mtu(struct vhost_net *net, uint16_t mtu);
|
H A D | vhost-user.h | 14 struct vhost_net; 15 struct vhost_net *vhost_user_get_vhost_net(NetClientState *nc);
|
H A D | tap.h | 36 struct vhost_net; 37 struct vhost_net *tap_get_vhost_net(NetClientState *nc);
|
H A D | vhost-vdpa.h | 17 struct vhost_net *vhost_vdpa_get_vhost_net(NetClientState *nc);
|
/openbmc/linux/drivers/vhost/ |
H A D | net.c | 132 struct vhost_net { struct 270 static void vhost_net_clear_ubuf_info(struct vhost_net *n) in vhost_net_clear_ubuf_info() 280 static int vhost_net_set_ubuf_info(struct vhost_net *n) in vhost_net_set_ubuf_info() 303 static void vhost_net_vq_reset(struct vhost_net *n) in vhost_net_vq_reset() 320 static void vhost_net_tx_packet(struct vhost_net *net) in vhost_net_tx_packet() 329 static void vhost_net_tx_err(struct vhost_net *net) in vhost_net_tx_err() 334 static bool vhost_net_tx_select_zcopy(struct vhost_net *net) in vhost_net_tx_select_zcopy() 359 static void vhost_zerocopy_signal_used(struct vhost_net *net, in vhost_zerocopy_signal_used() 424 static void vhost_net_disable_vq(struct vhost_net *n, in vhost_net_disable_vq() 435 static int vhost_net_enable_vq(struct vhost_net *n, in vhost_net_enable_vq() [all …]
|
H A D | Makefile | 2 obj-$(CONFIG_VHOST_NET) += vhost_net.o 3 vhost_net-y := net.o
|
H A D | Kconfig | 44 be called vhost_net.
|
/openbmc/qemu/include/hw/virtio/ |
H A D | vhost.h | 142 struct vhost_net { struct
|
/openbmc/qemu/ |
H A D | meson_options.txt | 300 option('vhost_net', type: 'feature', value: 'auto', feature
|
H A D | meson.build | 219 have_vhost_net_user = have_vhost_user and get_option('vhost_net').allowed() 220 have_vhost_net_vdpa = have_vhost_vdpa and get_option('vhost_net').allowed() 221 have_vhost_net_kernel = have_vhost_kernel and get_option('vhost_net').allowed()
|
/openbmc/linux/ |
H A D | opengrok1.0.log | [all...] |