DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Dasha Kolistratova <darkol1312@gmail.com>, dev@dpdk.org
Cc: Marcin Wojtas <mw@semihalf.com>,
	Michal Krawczyk <mk@semihalf.com>,
	Guy Tzalik <gtzalik@amazon.com>,
	Evgeny Schemeilin <evgenys@amazon.com>
Subject: Re: [dpdk-dev] A bug in DPDK ENA driver
Date: Wed, 20 Jun 2018 12:26:03 +0100	[thread overview]
Message-ID: <29c0548a-8280-8da5-a717-d9f3cc147546@intel.com> (raw)
In-Reply-To: <CAA9qGqUrEtu+O25B2HDZFQMZYoboJtmF3kYn4sOPPzNdh2Pw5g@mail.gmail.com>

On 6/19/2018 7:23 PM, Dasha Kolistratova wrote:
> Hi! I’m trying to launch NFF-GO (https://github.com/intel-go/nff-go)
> on AWS instances and faced a problem (Program received signal SIGFPE,
> Arithmetic exception.) which was caused by:
> 
> 
> 0x00000000006f703c in ena_rss_init_default (adapter=0x7fffef399200)
> 
>     at /home/ec2-user/projects/src/github.com/intel-go/nff-go/dpdk/dpdk-18.02/drivers/net/ena/ena_ethdev.c:571
> 
> 571                     val = i % nb_rx_queues;
> 
> 
> 
> nb_rx_queues is 0, cause our application does not receive and we do
> not use rx queues. Could you please fix it by wrapping with 0 check
> (and making val 0 if 0 queues) before division?

cc'ed ena maintainers.

Also can you please submit a defect for this:
https://bugs.dpdk.org/

Thanks,
ferruh

      reply	other threads:[~2018-06-20 11:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-19 18:23 Dasha Kolistratova
2018-06-20 11:26 ` Ferruh Yigit [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=29c0548a-8280-8da5-a717-d9f3cc147546@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=darkol1312@gmail.com \
    --cc=dev@dpdk.org \
    --cc=evgenys@amazon.com \
    --cc=gtzalik@amazon.com \
    --cc=mk@semihalf.com \
    --cc=mw@semihalf.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).