From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) by dpdk.org (Postfix) with ESMTP id CFD131150 for ; Wed, 16 Jan 2019 22:08:14 +0100 (CET) Received: by mail-oi1-f171.google.com with SMTP id c206so4438971oib.0 for ; Wed, 16 Jan 2019 13:08:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=D7C9QyZu/80xQVUNtAeGhwdXT4lCWp/rVVI8iTqfPQw=; b=LVjEXrb24WXvT1psnx+gdp907dJaOm+TSH81rWYa7PswEfovKO/LbcXpcQ+rl7i4fj C6VsLRg8qply9pIMF760OHVpl9LqdDpcY0UnsjVEF2AV0bDn9lkN9+TIKVnUH+uGxLUf UsSWSE+1omr+uDnX+1qNA89lPs96cNAKoXwRy7ofmUM0CSLu6PUZvHmVd3BVIZ8q0CIC rp8rAu0O+7ngwi2J7h9FhJeaPQ3XXhMJ6UZjVA7lgWpIf2Ld7QWsmMhfNcfOXS6ObTDO TzglhwW8+wvEj4fHbx8RYeVD19jfto3nKWKrbYe/95dtlpqEdsKv2Jk3JZMmjeY8gVpL lAEQ== 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; bh=D7C9QyZu/80xQVUNtAeGhwdXT4lCWp/rVVI8iTqfPQw=; b=uaWXLLLtETbwH2ekdbBn3NNj8JY+8BftMtCcAMjQ5w6YikDVQwHuQGU3Ead/kIQx9P v18E3U2QhT2lBJRnlVCAnSxYgbrm2KXdAG6g7l/ulUuAuEnB6+tls1ArwhDCIPbF5dH8 wVzWfbcEydursGqh6uE4kwULch6cejvHlu0wAYLuOPnlyr1cn4q+KtYe5fa/58UkQGxm LTaqmeNL3jO2egd1T6gntRuDKI9fCWY3RS3nujT5phNRvF7A+UmcGbUL5rImaa+gzdN5 ymv45oTZs0AY4nax693hMUKSO+uw92yidhJrkOwI9iesDd3Vw2v+zC9Zodh4yQ3Cbnb3 LxKA== X-Gm-Message-State: AJcUukeG0UCysn+dlGdvsuY3LSTfGejAmjtyUkiXL4T7Rnoy7IBMPiay J9QdzlV+85yt8SncyUFRwGB0Schtba7TrZWXh8PKOk4HOdY= X-Google-Smtp-Source: ALg8bN6aymcvZSvM8Tw4ZKxaeuFrTQVSf77Rb7yUWBCUVbWZWJ3vwLk6Pwnl9Nv1i4lRlkkSf8x5EvQ66h3WylhgkBs= X-Received: by 2002:aca:d78b:: with SMTP id o133mr1254810oig.232.1547672893569; Wed, 16 Jan 2019 13:08:13 -0800 (PST) MIME-Version: 1.0 From: Amedeo Sapio Date: Thu, 17 Jan 2019 00:07:46 +0300 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [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: Wed, 16 Jan 2019 21:08:15 -0000 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