Lines Matching refs:dst_vdev
1003 sync_virtio_xmit(struct vhost_dev *dst_vdev, struct vhost_dev *src_vdev, in sync_virtio_xmit() argument
1009 ret = vs_enqueue_pkts(dst_vdev, VIRTIO_RXQ, &m, 1); in sync_virtio_xmit()
1011 ret = rte_vhost_enqueue_burst(dst_vdev->vid, VIRTIO_RXQ, &m, 1); in sync_virtio_xmit()
1015 __atomic_add_fetch(&dst_vdev->stats.rx_total_atomic, 1, in sync_virtio_xmit()
1017 __atomic_add_fetch(&dst_vdev->stats.rx_atomic, ret, in sync_virtio_xmit()
1095 struct vhost_dev *dst_vdev; in virtio_tx_local() local
1100 dst_vdev = find_vhost_dev(&pkt_hdr->dst_addr); in virtio_tx_local()
1101 if (!dst_vdev) in virtio_tx_local()
1104 if (vdev->vid == dst_vdev->vid) { in virtio_tx_local()
1112 "(%d) TX: MAC address is local\n", dst_vdev->vid); in virtio_tx_local()
1114 if (unlikely(dst_vdev->remove)) { in virtio_tx_local()
1116 "(%d) device is marked for removal\n", dst_vdev->vid); in virtio_tx_local()
1120 vhost_txq = vhost_txbuff[lcore_id * RTE_MAX_VHOST_DEVICE + dst_vdev->vid]; in virtio_tx_local()
1129 drain_vhost(dst_vdev); in virtio_tx_local()
1144 struct vhost_dev *dst_vdev; in find_local_dest() local
1148 dst_vdev = find_vhost_dev(&pkt_hdr->dst_addr); in find_local_dest()
1149 if (!dst_vdev) in find_local_dest()
1152 if (vdev->vid == dst_vdev->vid) { in find_local_dest()
1169 vdev->vid, dst_vdev->vid, *vlan_tag); in find_local_dest()