[dpdk-dev] VMXNET3 with 3 processes

Yong Wang yongwang at vmware.com
Tue Nov 4 21:11:52 CET 2014


On 11/3/14, 7:49 AM, "Yan Freedland" <YanF at Radware.com> wrote:

>Hi 
>
>I am trying to initialize the environment for 3 processes and 2 ports.
>Currently I fail in vmxnet3_dev_start (0).
>The exact place is as follows:
>
>	/* Activate device by register write */
>	VMXNET3_WRITE_BAR1_REG(hw, VMXNET3_REG_CMD, VMXNET3_CMD_ACTIVATE_DEV);
>	status = VMXNET3_READ_BAR1_REG(hw, VMXNET3_REG_CMD);
>
>	if (status != 0) {  <<<<<<<<<< status == 1 in my case
>		PMD_INIT_LOG(ERR, "Device activation in %s(): UNSUCCESSFUL", __func__);
>		return -1;
>	}
>
>Do you have any idea what might it be ? BTW when I used the same
>configuration with 2 processes all worked fine.
>
>
>Thanks,
>Yan

Yan,

Do you mean 2/3 processes or 2/3 cores?  Can you post the exact cmd you
used? In particular, how many tx/rx queues you used to configure the dev?
vmxnet3 device has some requirement on the number of rx queues (needs to
be a power-of-two) and not sure if that¹s related.


Yong



More information about the dev mailing list