From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f68.google.com (mail-vk0-f68.google.com [209.85.213.68]) by dpdk.org (Postfix) with ESMTP id 145AEF72 for ; Thu, 11 Feb 2016 22:37:00 +0100 (CET) Received: by mail-vk0-f68.google.com with SMTP id e6so3572771vkh.1 for ; Thu, 11 Feb 2016 13:37:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UdLBI7LSEmGtOI7I60vbUvh39r+WIecnIy2gqG4JtwY=; b=abaPh28AOm6sJpOVv7sXTv2G5o6ZYSKr/+sX/pCSCtlJlw6F76m6gQeCguD7asNgJR 7aJf+7Gvkbx48+pM289GJyZIxwP14QKiswUBFG2L1gZTMV2cyuwo9AO+IsRrcaTEZR7Z 8zxrPRKTfUgL06emVtJQR7Ftxn4R14b+sQTsVv14ZkKi4APEV/Ibr8BfPBFLDU+YLzON 7Pvi086/wcNqVb41JTr2TLau30qVTH79rnJmeEg2KmgO3YYbdltjO79bM9u+VRPRY+t2 WollV2pBkjHAaT10JHOXgvCJASOPEY+MOnpfahbAgAXjPHUVB3UeU4c58hw2cmZLzhjj DJ5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=UdLBI7LSEmGtOI7I60vbUvh39r+WIecnIy2gqG4JtwY=; b=Fy6P4zYO7HbNT/7dEIiPf0HUCo3MzBHS/wqb61DnrntlLq30LF7rRyD8Av8O7fadgC 8q1PhFyR/TjDsHk1VyHthSCtKOUr1zK68orgvjOuWZ2k2BDSSgmgwY6nvb5RUBrRWVpQ tnkHX9DD9FP6TFwIaII96Y36TIWTy0PFru+kSME1K9OVLnfGaRZ92kNh4Hsv2TRPQnZf GVq8UT4Uvv6wBrj2mCTpWwMcHC+q6u1Sh+xS1LBSor9zSJzAtzv3LHe+2X4ZqqVEEGMW 2jN09tnDOpC3F6keoYcmwum4s60KTxaTVajHx2rxD8cTPIiP9EOpL7K1wJgET5sY+oeS d3YA== X-Gm-Message-State: AG10YORrq/Ivom53dTQufVWJ5KiweEY95bBdHblEGkZPgIsLmINaHqV0zzgIEcwYj4keSo2J4Zzrdxn9AQ6z5A== MIME-Version: 1.0 X-Received: by 10.31.155.131 with SMTP id d125mr32181018vke.146.1455226619502; Thu, 11 Feb 2016 13:36:59 -0800 (PST) Received: by 10.176.1.139 with HTTP; Thu, 11 Feb 2016 13:36:59 -0800 (PST) In-Reply-To: References: Date: Thu, 11 Feb 2016 22:36:59 +0100 Message-ID: From: Harold Demure To: Vincent Li Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: users@dpdk.org Subject: Re: [dpdk-users] DPDK 2.2 MLX4: problem with number of TX/RX queues X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 21:37:00 -0000 Hello Vincent, Thank you for your reply. I followed the same reasoning as you did, looking at the source code earlier today. Can you send me a link that explains how to change RX for my NIC? I have been looking around for that, and also performed the steps in the DPDK official guide for MLX4, but apparently nothing changed (at least, the error was still there). In addition, I have to describe a new strange behavior: even *without changing anything rss-wise*, but just enabling the increased debugging verbosity (CONFIG_RTE_LIBRTE_MLX4_DEBUG=y), the error I had suddenly disappeared. I cannot really explain what happened. Can anybody? At this point (with the debug prints), now my code blocks because apparently mlx4 does not support FlowDir, so I have to change a bit my software, which is built to use it. Still, I would love to know what's going on with my rx/tx queues. Thank you. Regards, Harold 2016-02-11 20:10 GMT+01:00 Vincent Li : > On Thu, Feb 11, 2016 at 6:24 AM, Non Voglio > wrote: > > Hello, > > I am new to the DPDK world and I am having some troubles in using some > > code (not written by me). > > > > In particular, I bump into this error when invoking the > rte_eth_dev_configure > > function: > > > > PMD: librte_pmd_mlx4: 0x10a4d2a0: TX queues number update: 0 -> 16 > > > > PMD: librte_pmd_mlx4: 0x10a4d2a0: RX queues number update: 0 -> 16 > > > > PMD: librte_pmd_mlx4: 0x10a4d2a0: only a single RX queue can be > configured > > when hardware doesn't support RSS > > > > it appears you must enable RSS support to use multiple RX queue > > if (!priv->hw_rss) { > ERROR("%p: only a single RX queue can be configured when" > " hardware doesn't support RSS", > (void *)dev); > return EINVAL; > } > > Vincent >