From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E7F6FA2EFC for ; Tue, 15 Oct 2019 08:06:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 398661C223; Tue, 15 Oct 2019 08:06:38 +0200 (CEST) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by dpdk.org (Postfix) with ESMTP id 953CA1C220 for ; Tue, 15 Oct 2019 08:06:36 +0200 (CEST) Received: by mail-wr1-f67.google.com with SMTP id n14so22162103wrw.9 for ; Mon, 14 Oct 2019 23:06:36 -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:cc; bh=jWaxMLMdE0fpel/gSLS7XpRkzjiKJS5oJ9wMuPJjs8M=; b=F7GLsOaFxD9KZ49YU7hjcodN5teCI3+119c5y+yy+EEGP55LyxqRb7cJvFn1DSm7nO KtssekzG3uUkGD0tLvw+U7JrHBkGpAN88pgLe4JoEr0CArznYe6eJf5vx+lZYuasCniI RNg96J/EPCMoBr+4btgL5ZkPuow4/JKCO+WtLqTYQF8n7dK5xNC4+OWocP9FkUVT2KC7 m1eYoAyLU1kK3uSBlzhUnVPY3G1BRmWExm0l9WzS5DTu3pBuj2zQwLMDgXya35/T32B0 1yxyCZzCSutbH149+WV8TylQJymxtp9Cr/jRiog5XSk/vEYPwGAkO4f+XZF6csmHFbWm VHzw== 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:cc; bh=jWaxMLMdE0fpel/gSLS7XpRkzjiKJS5oJ9wMuPJjs8M=; b=fckaikuEz11tISQbDrA/OWJcPZIMoXpR10NLdRI5sEBwIA6CHXbXhK/9OLmxLWaGcW EHGqOyAOVEQzB1PoYZXl0I7mjs+jmh10ykUNyTE4SH2Lz1euxVqWFUIldf15mBI4Z9K5 Kp4ph4CVcwpDAEWqzYCTxjUV8CYbv0k4ZeI/w+bDRdNeG5eVGM4lJIcXdGgl5pi89ZeH 7Dv/WfdWXl7rDhfMQjsksNh+j+B9nhm76GOsltCjx3PxRXDaKjIxF4TRXA3owgNaGCSS di8yCZSpRZRRXPypKAgYZzIRl6dbepEXSSIeUH50+3aVBjW33sXUdDHBimG1FSJdj0Zo 8ONg== X-Gm-Message-State: APjAAAVSi6WSv+QBgfBGR51qmfR/BdpRC7UuPyMScmjn81GWcR6sUOEs zFEmNpg57rPi+XHZMG8MnLv0Z+pVuijpckB19s4pvj9q X-Google-Smtp-Source: APXvYqxgDRRulUJifXw2Kg2jek6aiIL1xHAb5SshUCFeIOgu0WC2VzwyPf/Qf7BgN7gJ98liDRcHxDVp36dPBS4tPlE= X-Received: by 2002:a5d:4dd2:: with SMTP id f18mr10084727wru.4.1571119595977; Mon, 14 Oct 2019 23:06:35 -0700 (PDT) MIME-Version: 1.0 From: Georgios Katsikas Date: Tue, 15 Oct 2019 09:06:25 +0300 Message-ID: To: dev@dpdk.org Cc: Tom Barbette Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Testpmd parameter --enable-lro fails on Mellanox ConnectX5 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi all, In the latest features of the MLX5 PMD (i.e., DPDK 19.08), there is LRO hardware support. However, I cannot make it work with our dual port 100GbE Mellanox ConnectX5 (MT27800) card. Let me first describe the configuration of my testbed: First,I upgraded OFED to the latest 4.7-1.0.0 with firmware version 16.26.1040 (MT_0000000008) and installed the latest MFT (4.13) to enable DevX according to the instructions here : mlxconfig -d set UCTX_EN=1 My OS is Ubuntu server 18.04 with kernel 4.15.0-65-generic. I also tested on another server with the same distro but more recent kernel (5.15), without any luck. To test LRO, I simply use testpmd as follows: sudo ./testpmd -l 0-15 -w 0000:03:00.1 -v -- --txq=16 --rxq=16 --nb-cores=15 --enable-lro -i Th output I get is: Configuring Port 0 (socket 0) net_mlx5: Failed to create RQ using DevX net_mlx5: port 0 Rx queue 8 RQ creation failure net_mlx5: port 0 Rx queue allocation failed: Cannot allocate memory Fail to start port 0 Please stop the ports first Done Reducing the number of queues does not solve the problem. Specifically, if I ask for 1 rX and 1 Tx queue, testpmd fails without an error from the mlx driver: Configuring Port 0 (socket 0) Fail to start port 0 Please stop the ports first Done I would appreciate your help on this issue. Best regards, Georgios