DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Dey, Souvik" <sodey@sonusnet.com>
To: Yong Wang <yongwang@vmware.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Vmxnet3 activation of device fails in DPDK1.7
Date: Mon, 14 Dec 2015 05:01:18 +0000	[thread overview]
Message-ID: <BN3PR0301MB120266A07689367F0C556654DAED0@BN3PR0301MB1202.namprd03.prod.outlook.com> (raw)
In-Reply-To: <D51B5992-EC43-411A-A5E6-A9930A2BBCD6@vmware.com>

Not sure about but it definitely worked in ESXi5.5 Update1, and also prior versions. Also on ESXi6.0 it works fine. 
We are using 1rx queue and 8 tx queues per port. The nb_rx_desc  is set to 4096  and the each mbuf size is set to 2048. The rx_conf struct has the following values during the init time .

static const struct rte_eth_rxconf rx_conf = {
   .rx_thresh = {
      .pthresh = RX_PTHRESH,
      .hthresh = RX_HTHRESH,
      .wthresh = RX_WTHRESH,
   },
};

Do you suspect anything wrong in this ?

-----Original Message-----
From: Yong Wang [mailto:yongwang@vmware.com] 
Sent: Friday, December 11, 2015 12:07 AM
To: Dey, Souvik <sodey@sonusnet.com>; dev@dpdk.org
Subject: Re: [dpdk-dev] Vmxnet3 activation of device fails in DPDK1.7

On 12/10/15, 2:22 AM, "dev on behalf of Dey, Souvik" <dev-bounces@dpdk.org on behalf of sodey@sonusnet.com> wrote:



>Hi,
>                In DPDK 1.7 , while using the vmxnet3 pmd on vmware Esxi 5.5 update 3 we are seeing that activation of the device fails.
>
>status = VMXNET3_READ_BAR1_REG(hw, VMXNET3_REG_CMD); return a non zero status. Though the normal vmxnet3.ko works fine in the same system. Any idea if anyone has faced this type of issue.
>
>--
>Regards,
>Souvik

Did it work for ESXi 5.5 update 2 or some earlier version?

Can you also post the rx ring size you used to config the rx queue?
In update 3, there are some changes to the max allowed rx ring size for ring1. Even ring1 is not used yet in the pmd, the setup code sets ring1’s size the same as ring0’s.

  reply	other threads:[~2015-12-14  5:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-10 18:36 Yong Wang
2015-12-14  5:01 ` Dey, Souvik [this message]
2015-12-14  6:27   ` Yong Wang
2015-12-14  7:06     ` Dey, Souvik
2015-12-22 20:36       ` Yong Wang
  -- strict thread matches above, loose matches on Subject: below --
2015-12-10 10:22 Dey, Souvik
2015-12-10 17:24 ` Stephen Hemminger
2015-12-14  4:52   ` Dey, Souvik

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=BN3PR0301MB120266A07689367F0C556654DAED0@BN3PR0301MB1202.namprd03.prod.outlook.com \
    --to=sodey@sonusnet.com \
    --cc=dev@dpdk.org \
    --cc=yongwang@vmware.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).