@@ -483,7 +483,7 @@ static int cfv_probe(struct virtio_device *vdev)
vdev->priv = cfv;
- vringh_iov_init(&cfv->ctx.riov, NULL, 0);
+ vringh_kiov_init(&cfv->ctx.riov, NULL, 0);
cfv->ctx.head = USHRT_MAX;
netif_napi_add(netdev, &cfv->napi, cfv_rx_poll, CFV_DEFAULT_QUOTA);
@@ -517,7 +517,7 @@ static void cfv_remove(struct virtio_device *vdev)
struct cfv_info *cfv = vdev->priv;
tasklet_kill(&cfv->tx_release_tasklet);
- vringh_iov_cleanup(&cfv->ctx.riov);
+ vringh_kiov_cleanup(&cfv->ctx.riov);
vdev->config->reset(vdev);
rproc_virtio_del_vringh(vdev, RX_RING_INDEX);
cfv->vr_rx = NULL;