[dpdk-dev] A bug in DPDK ENA driver

Ferruh Yigit ferruh.yigit at intel.com
Wed Jun 20 13:26:03 CEST 2018


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


More information about the dev mailing list