DPDK patches and discussions
 help / color / mirror / Atom feed
From: Yong Wang <yongwang@vmware.com>
To: Yan Freedland <YanF@Radware.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] VMXNET3 with 3 processes
Date: Tue, 4 Nov 2014 20:11:52 +0000
Message-ID: <D07E71F4.24080%yongwang@vmware.com> (raw)
In-Reply-To: <CEFFBC011B3590479939EA0B9311D2152691C277@ILMB1.corp.radware.com>

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

      reply	other threads:[~2014-11-04 20:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-03 15:49 Yan Freedland
2014-11-04 20:11 ` Yong Wang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D07E71F4.24080%yongwang@vmware.com \
    --to=yongwang@vmware.com \
    --cc=YanF@Radware.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git