DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] A bug in DPDK ENA driver
@ 2018-06-19 18:23 Dasha Kolistratova
  2018-06-20 11:26 ` Ferruh Yigit
  0 siblings, 1 reply; 2+ messages in thread
From: Dasha Kolistratova @ 2018-06-19 18:23 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] A bug in DPDK ENA driver
  2018-06-19 18:23 [dpdk-dev] A bug in DPDK ENA driver Dasha Kolistratova
@ 2018-06-20 11:26 ` Ferruh Yigit
  0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2018-06-20 11:26 UTC (permalink / raw)
  To: Dasha Kolistratova, dev
  Cc: Marcin Wojtas, Michal Krawczyk, Guy Tzalik, Evgeny Schemeilin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-20 11:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-19 18:23 [dpdk-dev] A bug in DPDK ENA driver Dasha Kolistratova
2018-06-20 11:26 ` Ferruh Yigit

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).