On 1/11/2016 2:43 AM, Tan, Jianfeng wrote:
> +     if (hw->type == VHOST_KERNEL) {
> +             struct vhost_vring_file file;
> +
> +             file.fd = hw->backfd;
> +             nvqs = data->nb_rx_queues + data->nb_tx_queues;
> +             for (file.index = 0; file.index < nvqs; ++file.index) {
> +                     ret = vhost_kernel_ioctl(hw, VHOST_NET_SET_BACKEND, 
> &file);
> +                     if (ret < 0)
> +                             rte_panic("VHOST_NET_SET_BACKEND failed, %s\n",
> +                                             strerror(errno));
> +             }
> +     }
> +
> +     /* TODO: VHOST_SET_LOG_BASE */

We needn't support VHOST_SET_LOG_BASE.

Reply via email to