DPDK patches and discussions
 help / color / mirror / Atom feed
From: Dasha Kolistratova <darkol1312@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] A bug in DPDK ENA driver
Date: Tue, 19 Jun 2018 21:23:56 +0300	[thread overview]
Message-ID: <CAA9qGqUrEtu+O25B2HDZFQMZYoboJtmF3kYn4sOPPzNdh2Pw5g@mail.gmail.com> (raw)

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?



Best regards,
Kolistratova Daria

             reply	other threads:[~2018-06-19 18:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-19 18:23 Dasha Kolistratova [this message]
2018-06-20 11:26 ` Ferruh Yigit

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=CAA9qGqUrEtu+O25B2HDZFQMZYoboJtmF3kYn4sOPPzNdh2Pw5g@mail.gmail.com \
    --to=darkol1312@gmail.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
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).