[dpdk-dev] [PATCH v2 04/10] net/virtio: allocate queue at init stage
Thomas Monjalon
thomas.monjalon at 6wind.com
Mon Nov 7 15:23:19 CET 2016
2016-11-05 17:40, Yuanhan Liu:
> -int virtio_dev_queue_setup(struct rte_eth_dev *dev,
> - int queue_type,
> - uint16_t queue_idx,
> - uint16_t vtpci_queue_idx,
> - uint16_t nb_desc,
> - unsigned int socket_id,
> - void **pvq)
> +static int
> +virtio_init_queue(struct rte_eth_dev *dev, uint16_t vtpci_queue_idx)
> {
I've fixed an error with debug enabled:
drivers/net/virtio/virtio_ethdev.c:335:57: error:
‘nb_desc’ undeclared (first use in this function)
PMD_INIT_LOG(DEBUG, "vq_size: %u nb_desc:%u", vq_size, nb_desc);
^
More information about the dev
mailing list