[dpdk-dev] [Bug 63] AWS ENA driver does not work with zero rx queues.

bugzilla at dpdk.org bugzilla at dpdk.org
Thu Jun 21 13:06:17 CEST 2018


https://bugs.dpdk.org/show_bug.cgi?id=63

            Bug ID: 63
           Summary: AWS ENA driver does not work with zero rx queues.
           Product: DPDK
           Version: 18.02
          Hardware: All
                OS: Other
            Status: CONFIRMED
          Severity: major
          Priority: Normal
         Component: other
          Assignee: dev at dpdk.org
          Reporter: daria.kolistratova at intel.com
  Target Milestone: ---

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

After fix of SIGFPE, we cant init port cause ena_com_ind_tbl_convert_to_device
function returns error at line:
(if (io_sq->direction != ENA_COM_IO_QUEUE_DIRECTION_RX)
                        return ENA_COM_INVAL;)

cause place for rx queue is not initialized and 0 means tx queue. 

Application may have no rx queues, please look at this case.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list