[dpdk-dev] A bug in DPDK ENA driver

Dasha Kolistratova darkol1312 at gmail.com
Tue Jun 19 20:23:56 CEST 2018


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


More information about the dev mailing list