From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f42.google.com (mail-it0-f42.google.com [209.85.214.42]) by dpdk.org (Postfix) with ESMTP id D0E105681 for ; Tue, 19 Jun 2018 20:23:57 +0200 (CEST) Received: by mail-it0-f42.google.com with SMTP id 76-v6so1762498itx.4 for ; Tue, 19 Jun 2018 11:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=EXbnVEW6ZplK3c8awAdoLsx4YsSMOpudSPY/O5zJWcM=; b=VzDowk3AuGA+zbDbWYz512fMuK4WUQwsU6bNeCDfRwrYsihS1nfH/KYzV2AD+SIyZC QF2JK6gMBOaxAIASzRtd03TGb3184Ix1V+OZlnhv8J3mFGcaa2SouabaoJB69b22RvU5 eWl8sdvKeSPMwwW5I3LQSxzjD017+HXf3/cgelxQot6eZ25lf4EV/pppKbwCdjFF2kbr y4tk30ZokJroqsnFMH5np0+kCHZ/EIfewwuEwaXbDqSREDQr3tKEPRg551RKQW1b9TR8 gljdCSg4WyWP2jjnYlOExNs4r/Qf7CC8cYA+x6SO1su0TKo/VvXzbtnuFi3XRQs0sRoK Xbbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=EXbnVEW6ZplK3c8awAdoLsx4YsSMOpudSPY/O5zJWcM=; b=Nk41fUpVTEQw2Yvn+Zyd3qmDiv2VrcWXEzJGSV009ijIFCkOMq9ciLnUovtuPArOch YNIeuhssoi1IVh0kodaaCb7TDznmZbH8n+eLWQLxJ7mr0BcnzoxdakZF5tQWCXG+uxz2 Mal3gGG62MxDsBp7I7mO8QISKc6oE6el63BdkwM/bNPv8U+QnQBu+08YYC8OQttVFz8M QGfBrT3rVPvwOZ5MowiqjvaB16rLysCKNpWaHHv9myxpJmWx5vzvJ0b07rgfTut6KrZ4 Co5hkxWtrw9eVeC2L6W8o1jVu+uDkvPgBfSZF+Ojik3kzm9+t+EvpI8hqTcGfayCvo7b 0vIw== X-Gm-Message-State: APt69E2sMBQbRHhxylz1NrjXgsTOjbldVwoJMCErQHahguBmWy1oM0en PfHTFO97fNS8qEpb/QgKvXc4i2c6A4fXlm0/zScgcw== X-Google-Smtp-Source: ADUXVKJjndcSOgvNM6ShgzKvSJwzYCbbZ3J2UNqutB8MJSF6voCewnUZA9FKkUqhXoeUT+y++ge9rspI/RDHoCXCi/w= X-Received: by 2002:a02:2108:: with SMTP id e8-v6mr14678942jaa.68.1529432636722; Tue, 19 Jun 2018 11:23:56 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:cb48:0:0:0:0:0 with HTTP; Tue, 19 Jun 2018 11:23:56 -0700 (PDT) From: Dasha Kolistratova Date: Tue, 19 Jun 2018 21:23:56 +0300 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: [dpdk-dev] A bug in DPDK ENA driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2018 18:23:58 -0000 Hi! I=E2=80=99m 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=3D0x7fffef399200) 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 =3D 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