From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) by dpdk.org (Postfix) with ESMTP id F41992BF4 for ; Thu, 17 Jan 2019 09:52:42 +0100 (CET) Received: by mail-oi1-f179.google.com with SMTP id y1so5518167oie.12 for ; Thu, 17 Jan 2019 00:52:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=vl4JKsI5RHh40Ck4nhNkwqY55TJ0+SdZoZFKNMt8Vdg=; b=BAriQjLsWNXoktw6fP1ly45PLHFnUVGlyC2XsjhiigcE7lieM45/8WvzJIXLvbZtjg u88ERwP86Jh++a3IxmgmvU9gVNJMpOuFeBxl9UdWA2lUUj+M2ufLQPr4uBo/Ic8nNhWD 6H86jrESNwqfVT7FR20zhMNStaSPmrcmHFfO4ncOduNhTWPBPlsKbC0TWKBYO1hKb6lQ lFf5wG/R5rRCT7GfBD8j9cA90E8eqMHKdk02vhhWWzLUmgbP9zoYt5D9o8gCrlR6sQy1 l3ECfaXBL9PXOBPCV+Xj6R+z1hQTHUFHKfF5QwODMFn1Ry3xcLDm3TfNbTisk0+IpQqm IyFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=vl4JKsI5RHh40Ck4nhNkwqY55TJ0+SdZoZFKNMt8Vdg=; b=AdFr9TCKjV9zWLeG8NA77WOZcSSgoOHPQ8iK2xKRY1n9yIoiUzjd9LkzOvbbnwAqqf zFm6aZfJTqX9GmA6yocl9/ceWtrGsmZGdv8LWW0PYrE+GLhznYzebGMLDMp7HW6iGett kAA5Rw1QCc0rbNyhblkFREd2QtXX0QGmOOYUKZSF4MSCEF2KtE7WI+1IBWOzjYRiAHOV z2GPLTN4HFGfd6z1uuNG57ebEs7I4VV/j5ZvAWDf3x1gkzlfmpmpx/A7Yi72XN6ttCkj A9FF160aRR4jC1loCEDZo+IrHH2kd7tXlZW1idtlpIHR2eD0yrnWma6XeOZU5pfsJW/y o7Xw== X-Gm-Message-State: AJcUukefFoSVQ9w8k5/91K8UA+bGAQOZck7vlxdYOLrtr2cq8IBttIxU jPKQQgGGkc+GSOqIrMx9qK9I0PrGAbdbuop2owsbUZS9XlA= X-Google-Smtp-Source: ALg8bN5u3hk2RCtzVMKeV93FoFU4Hrh++eOgFypC2144j2CrkD4PRr2+3C5/iznMd6Xws35nDOzZIB7EYBW5NYMYAy0= X-Received: by 2002:aca:d09:: with SMTP id 9mr3246653oin.19.1547715161717; Thu, 17 Jan 2019 00:52:41 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Amedeo Sapio Date: Thu, 17 Jan 2019 11:52:15 +0300 Message-ID: To: dev@dpdk.org, Erez Ferber , Kiran Vedere Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] MLX5 QP creation failure - cannot allocate memory 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: Thu, 17 Jan 2019 08:52:43 -0000 I should also add that I am using flow director and rte_flow APIs to send ingress traffic to the different queues. You can see my port_init function here (for DPDK 18.11) . I also tried do change the number of TX/RX descriptors from 32768 to 16384, with no success. --- Amedeo On Thu, Jan 17, 2019 at 12:07 AM Amedeo Sapio wrote: > Hi all, > > I am developing a DPDK program using a Mellanox ConnectX-5 100G. > My program starts N workers (one per core), and each worker deals with its > own dedicated TX and RX queue, therefore I need to setup N TX and N RX > queues. > > For each RX queue I create a mbuf pool with: > n = 262144 > cache size = 512 > priv_size = 0 > data_room_size = RTE_MBUF_DEFAULT_BUF_SIZE > > For N<=4 everything works fine, but with N=8, 'rte_eth_dev_start' returns: > "Unknown error -12" > and the following error: > net_mlx5: port 0 Tx queue 0 QP creation failure > net_mlx5: port 0 Tx queue allocation failed: Cannot allocate memory > > I tried > - to increment the number of Hugepages (up to 64x1G) > - change the pool size in different ways > - both dpdk 18.05 and 18.11 > > but with no success. Do you have any suggestions on what could be the > issue? > > Thanks for your help, > --- > Amedeo >