From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f67.google.com (mail-vk0-f67.google.com [209.85.213.67]) by dpdk.org (Postfix) with ESMTP id 72A4FC13E for ; Tue, 16 Feb 2016 17:05:00 +0100 (CET) Received: by mail-vk0-f67.google.com with SMTP id e6so9628339vkh.1 for ; Tue, 16 Feb 2016 08:05: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=7X6eh8+/WSbPU0J9ytyLKPBysuEnXfeEjJXBExMQ5DU=; b=ul6LPQd1Iqc17CN+g1x0u8e+0trkFg2hVtY7+U1koKNF1Dzz0hiZuaIJGV2ALqZnac EFLk6pSjdD9xWjHEO09mCff6NpwMKhWe7T0QTpf8NFbaZelUNnvMWrPvxjRqdHablSlZ UFgHrPK5sQe+CtbfLRIpjA7SuEt+ZQq07qjSDJfujxRY7vEgM2FLMucegz9VxKLg4gow +xY8NUouw+Tp8lkVAcMj7SHf1ADas3aEKrB+wx/WfZDBHiA8eVCp97ExMFfcPCH0xiyx btxn7L+fTLZ3ejcpeg9y5L+PRdcxXYscuDWJsOCN66X/95jqq4I+OQe+ZeLSORFywLb6 k7Dg== 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=7X6eh8+/WSbPU0J9ytyLKPBysuEnXfeEjJXBExMQ5DU=; b=gnXzR1zmSk+KJwiwBAh+UJENofAD3pmyuh+dx/yCmRHTeHyG9ntc/B/6UPfuyJHwzd x170xA2hVgDQBeehTgzFUKkH6U42obI3GC2b7pBfiuuCJsWhCl3v+VRrIRPfJul8yP7z fyaRbhtEiJA2DVlvTnajvUZaX0mDVdp40hmgK8U+Blm8XVVAmjslNmh9ZA0q3KwZXwJW p76bmpDUt0PYWB4FKsEyFaNn+pxWEHFvSO1b8tOLUKYJAvSHJV0NbjKctSd34vIuZpTC eOxOZn98pY8RnvovF/YBKf2dagPjSzkJkm2QsC90LTCzXiKFzyaujyyMnYzGLx6MLF8L 8/vQ== X-Gm-Message-State: AG10YOQcLH2+qxeQyL0ztzLw8+CnmlAwt5iJDcIwMhq4XzGZu4jriMn3uIUIzs9jjajNhI1obIn9QwHeqjLXQw== MIME-Version: 1.0 X-Received: by 10.31.16.37 with SMTP id g37mr18433069vki.97.1455638699876; Tue, 16 Feb 2016 08:04:59 -0800 (PST) Received: by 10.176.1.139 with HTTP; Tue, 16 Feb 2016 08:04:59 -0800 (PST) In-Reply-To: References: Date: Tue, 16 Feb 2016 17:04:59 +0100 Message-ID: From: Harold Demure To: Olga Shern Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Tue, 16 Feb 2016 16:05:00 -0000 Dear Olga and Vincent, thank you for your reply. It seems that the problem has now gone away; both with the -j and without the -j flag. I will try to backtrace the root cause of the problem and report it if I manage to isolate it. If I may, I would also like to ask your help for a related problem, which I have reported also on the mellanox community forum. If you are available, you may find my question there [1]. I take the occasion to specifically address Olga Shern because I saw that she has already given support on a related topic [2]. Also, related to [2] but possibly un-related from the questions in [1], I am failing to attach a "Perfect Match" filter to my mlx4 NIC, via rte_eth_dev_filter_ctrl(port_id, RTE_ETH_FILTER_FDIR, RTE_ETH_FILTER_ADD, &filter) Is this an expected behavior, namely, mlx4 does not support (yet) this kind of operational mode? Thank you (and anybody willing to help) for your time. Best regards, Harold Demure [1] https://community.mellanox.com/thread/3152 [2] http://dpdk.org/ml/archives/dev/2015-April/016392.html 2016-02-15 9:59 GMT+01:00 Olga Shern : > Hi Harold, > > DPDK 2.2 with MLNX_OFED that you are using and ConnectX-3 support RSS > automatically. > You don=E2=80=99t need to configure anything. > > Looks there is some bug in the compilation, did you compile with make -j= , > we saw some issue with it. > Can you please try without -j flag. > > Best Regards, > Olga > > -----Original Message----- > From: users [mailto:users-bounces@dpdk.org] On Behalf Of Harold Demure > Sent: Thursday, February 11, 2016 11:37 PM > To: Vincent Li > Cc: users@dpdk.org > Subject: Re: [dpdk-users] DPDK 2.2 MLX4: problem with number of TX/RX > queues > > 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, t= he > 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=3Dy), 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 whe= n" > > " hardware doesn't support RSS", > > (void *)dev); > > return EINVAL; > > } > > > > Vincent > > >