From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id B373F1B306 for ; Mon, 12 Feb 2018 15:25:03 +0100 (CET) Received: by mail-wm0-f44.google.com with SMTP id 143so9897774wma.5 for ; Mon, 12 Feb 2018 06:25:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=5fdhRQxi7QNRTxj/hnnoJHR9KdScWF01ojzSnbr1Mxw=; b=oMFWGvBSwnl33kIvAofQg7Ozljsx5TXsMG86y6NJKxhU92YVhoEWfXFivPxmxilUF5 +RXXglfO+vpHqFT0ifudoLnfLeS4Naay83OT/A0uBQQ9kXJOCo1q19bmbJupVpt93lwD unvy0iDNQEPMoDDqzCyw6j9GCGWEdIVxduULEoLUuys6vCWzRmena+llmnXjKEqmdQ9K vZbuQd0HGArxIIg2RdsG5uFLVvxZGtEmVgLNci0YbfjZY0t5GkvEBwVOe7HdPiQ3WBoE bO2dI4G1zJpZ8L9bjojaSm23lqWuVPX0A02ST5cX1fGPpABmjqDvCnRkp3ko2xIhKJNT iIUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=5fdhRQxi7QNRTxj/hnnoJHR9KdScWF01ojzSnbr1Mxw=; b=uaMUYrwYGdYc3UtbiQTDezpCVPvAjhmpMeXaJ89Vl3yFHcNn46MFXa6HyHvgYt9o8x LHA7tePgZkKkMsiDwq3Ncm3UbfqvG6E0fA/72euqAdYJ/e8zmyKoijHo8ha9Z4ZS9vRy WJCm00Pw99JGzTfP7tcvFTKjIc9i6qh2qeElg8mQdNvKnlSbDLZWjzgmoJ6lQ/U1PgiI Vi71cIktNBKavv1YCKMSH9L3EQwhlU7Q/QYqQHXqfnpV8oA24Afx2edc/q75f1LDNV3s +dx5YDlbDDyINkVf5D9zQOjw4+/pw/bxO+kPsETvClcCdp2ubul0g/I97yJoNTaOYaHo /4+g== X-Gm-Message-State: APf1xPB82JiYOu0VOh/beRSBtuW4ZTREEj95wdJ6f3GpPt/26x+hnxnz YhQsxcWcIqXCIjWLq+V0zt4igLrw4TltSZKLvQAkZg== X-Google-Smtp-Source: AH8x224eQKOoC4kKaovsRga1LkuZazcomoR+5ZM9zAn3i9OULhVBqWS/1ZQCOMbZ31JidSPOW08Z8GdehXQxAREkcVk= X-Received: by 10.28.146.141 with SMTP id u135mr3679997wmd.26.1518445502542; Mon, 12 Feb 2018 06:25:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.171.93 with HTTP; Mon, 12 Feb 2018 06:25:01 -0800 (PST) Received: by 10.223.171.93 with HTTP; Mon, 12 Feb 2018 06:25:01 -0800 (PST) In-Reply-To: References: From: Stefan Baranoff Date: Mon, 12 Feb 2018 09:25:01 -0500 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] (no subject) X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Feb 2018 14:25:03 -0000 All, I posted this to the dev mailing list a few days ago and didn't see any feedback so I figured I'd ask here: I'm on DPDK 16.11.2 (CentOS packages) using the I40EVF driver and in the case of rx_mbuf_alloc_failed there is a null pointer dereference in drivers/net/i40e/i40e_rxtx.c line 830. The variable 'dev' is null. Looking at it right after initializing the port/queues it appears the source of that variable ((struct i40e_rx_queue*)rte_eth_devices[0].data->rx_queues[0])->vsi-> adapter->eth_dev is null as well. I couldn't find anywhere in the code base that initialized that variable. What am I missing/not doing right? Where is eth_dev supposed to be initialized and is that just missing or is vsi->adapter->eth_dev the wrong structure to be using in the rx_mbuf_alloc_failed case? Thanks, Stefan