| 779 | } |
| 780 | |
| 781 | void |
| 782 | vhost_attach_vdpa_device(int vid, struct rte_vdpa_device *vdpa_dev) |
| 783 | { |
| 784 | struct virtio_net *dev = get_device(vid); |
| 785 | |
| 786 | if (dev == NULL) |
| 787 | return; |
| 788 | |
| 789 | dev->vdpa_dev = vdpa_dev; |
| 790 | } |
| 791 | |
| 792 | void |
| 793 | vhost_set_ifname(int vid, const char *if_name, unsigned int if_len) |
no test coverage detected