Lines Matching refs:vid

737 			vdev->vid);  in link_vmdq()
745 vdev->vlan_tag = vlan_tags[vdev->vid]; in link_vmdq()
750 vdev->vid, in link_vmdq()
758 (uint32_t)vdev->vid + vmdq_pool_base); in link_vmdq()
762 vdev->vid); in link_vmdq()
817 ret = rte_vhost_submit_enqueue_burst(dst_vdev->vid, VIRTIO_RXQ, in virtio_xmit()
824 if (rte_vhost_poll_enqueue_completed(dst_vdev->vid, in virtio_xmit()
829 ret = rte_vhost_enqueue_burst(dst_vdev->vid, VIRTIO_RXQ, &m, 1); in virtio_xmit()
856 if (vdev->vid == dst_vdev->vid) { in virtio_tx_local()
859 vdev->vid); in virtio_tx_local()
864 "(%d) TX: MAC address is local\n", dst_vdev->vid); in virtio_tx_local()
868 "(%d) device is marked for removal\n", dst_vdev->vid); in virtio_tx_local()
892 if (vdev->vid == dst_vdev->vid) { in find_local_dest()
895 vdev->vid); in find_local_dest()
905 *vlan_tag = vlan_tags[vdev->vid]; in find_local_dest()
909 vdev->vid, dst_vdev->vid, *vlan_tag); in find_local_dest()
1002 "(%d) TX: MAC address is external\n", vdev->vid); in virtio_tx_route()
1082 complete_count = rte_vhost_poll_enqueue_completed(vdev->vid, in complete_async_pkts()
1110 unlikely(rx_count > rte_vhost_avail_entries(vdev->vid, in drain_eth_rx()
1116 if (rx_count <= rte_vhost_avail_entries(vdev->vid, in drain_eth_rx()
1126 enqueue_count = rte_vhost_submit_enqueue_burst(vdev->vid, in drain_eth_rx()
1130 enqueue_count = rte_vhost_enqueue_burst(vdev->vid, VIRTIO_RXQ, in drain_eth_rx()
1154 count = rte_vhost_dequeue_burst(vdev->vid, VIRTIO_TXQ, in drain_virtio_tx()
1165 virtio_tx_route(vdev, pkts[i], vlan_tags[vdev->vid]); in drain_virtio_tx()
1242 destroy_device(int vid) in destroy_device() argument
1248 if (vdev->vid == vid) in destroy_device()
1285 vdev->vid); in destroy_device()
1288 rte_vhost_async_channel_unregister(vid, VIRTIO_RXQ); in destroy_device()
1298 new_device(int vid) in new_device() argument
1307 vid); in new_device()
1310 vdev->vid = vid; in new_device()
1316 vdev->vmdq_rx_q = vid * queues_per_pool + vmdq_queue_base; in new_device()
1336 rte_vhost_enable_guest_notification(vid, VIRTIO_RXQ, 0); in new_device()
1337 rte_vhost_enable_guest_notification(vid, VIRTIO_TXQ, 0); in new_device()
1341 vid, vdev->coreid); in new_device()
1352 return rte_vhost_async_channel_register(vid, VIRTIO_RXQ, in new_device()
1407 vdev->vid, in print_stats()