[dpdk-dev] [PATCH v2 12/12] net/vhost: support to run in the secondary process

Yuanhan Liu yliu at fridaylinux.org
Sat Sep 30 10:23:19 CEST 2017


On Thu, Sep 28, 2017 at 01:55:59PM +0000, Jianfeng Tan wrote:
> +static int
>  new_device(int vid)
>  {
>  	struct rte_eth_dev *eth_dev;
> @@ -610,6 +685,8 @@ new_device(int vid)
>  	_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_INTR_LSC,
>  				      NULL, NULL);
>  
> +	share_device(vid);
> +

Another question is, have you considered/tested the case when the VM
changes the qeueue number later?

	--yliu


More information about the dev mailing list