All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yong Wang <yongwang@vmware.com>
To: "Dey, Souvik" <sodey@sonusnet.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: Vmxnet3 activation of device fails in DPDK1.7
Date: Mon, 14 Dec 2015 06:27:14 +0000	[thread overview]
Message-ID: <0C957262-A172-4F8A-B014-D59D43B87586@vmware.com> (raw)
In-Reply-To: <BN3PR0301MB120266A07689367F0C556654DAED0@BN3PR0301MB1202.namprd03.prod.outlook.com>

nb_rx_desc should be less or equal to 2048 in update 3 due to a change in vmxnet3 backend. More details can be found at http://kb.vmware.com/kb/2136932.


On 12/13/15, 9:01 PM, "Dey, Souvik" <sodey@sonusnet.com> wrote:

>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  6:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-10 18:36 Vmxnet3 activation of device fails in DPDK1.7 Yong Wang
2015-12-14  5:01 ` Dey, Souvik
2015-12-14  6:27   ` Yong Wang [this message]
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=0C957262-A172-4F8A-B014-D59D43B87586@vmware.com \
    --to=yongwang@vmware.com \
    --cc=dev@dpdk.org \
    --cc=sodey@sonusnet.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.