dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* Re: VMXNET3 with 3 processes
@ 2014-11-03 15:49 Yan Freedland
       [not found] ` <CEFFBC011B3590479939EA0B9311D2152691C277-c7dmUlN0JpUFwryiss7F11muhGz1hbfE@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Yan Freedland @ 2014-11-03 15:49 UTC (permalink / raw)
  To: dev-VfR2kkLFssw@public.gmane.org

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: VMXNET3 with 3 processes
       [not found] ` <CEFFBC011B3590479939EA0B9311D2152691C277-c7dmUlN0JpUFwryiss7F11muhGz1hbfE@public.gmane.org>
@ 2014-11-04 20:11   ` Yong Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Yong Wang @ 2014-11-04 20:11 UTC (permalink / raw)
  To: Yan Freedland, dev-VfR2kkLFssw@public.gmane.org

On 11/3/14, 7:49 AM, "Yan Freedland" <YanF-ipht3Rx8jL5BDgjK7y7TUQ@public.gmane.org> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-04 20:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-03 15:49 VMXNET3 with 3 processes Yan Freedland
     [not found] ` <CEFFBC011B3590479939EA0B9311D2152691C277-c7dmUlN0JpUFwryiss7F11muhGz1hbfE@public.gmane.org>
2014-11-04 20:11   ` Yong Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).