Searched refs:nic_conf (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/hw/virtio/ |
H A D | virtio-net-pci.c | 57 vpci_dev->nvectors = 2 * MAX(net->nic_conf.peers.queues, 1) in virtio_net_pci_realize()
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-net.h | 203 NICConf nic_conf; member
|
/openbmc/qemu/hw/net/ |
H A D | virtio-net.c | 671 NetClientState *peer = n->nic_conf.peers.ncs[0]; in virtio_net_max_tx_queue_size() 3665 n->max_ncs = MAX(n->nic_conf.peers.queues, 1); in virtio_net_device_realize() 3671 if (n->nic_conf.peers.queues) { in virtio_net_device_realize() 3673 if (n->nic_conf.peers.ncs[i]->is_datapath) { in virtio_net_device_realize() 3705 qemu_macaddr_default_if_unset(&n->nic_conf.macaddr); in virtio_net_device_realize() 3706 memcpy(&n->mac[0], &n->nic_conf.macaddr, sizeof(n->mac)); in virtio_net_device_realize() 3717 n->nic = qemu_new_nic(&net_virtio_info, &n->nic_conf, in virtio_net_device_realize() 3721 n->nic = qemu_new_nic(&net_virtio_info, &n->nic_conf, in virtio_net_device_realize() 3753 memcpy(&netcfg.mac, &n->nic_conf.macaddr, ETH_ALEN); in virtio_net_device_realize() 3856 device_add_bootindex_property(obj, &n->nic_conf.bootindex, in virtio_net_instance_init() [all …]
|