From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f45.google.com (mail-vk0-f45.google.com [209.85.213.45]) by dpdk.org (Postfix) with ESMTP id 1331F569C for ; Sat, 20 Feb 2016 05:46:38 +0100 (CET) Received: by mail-vk0-f45.google.com with SMTP id k196so92462283vka.0 for ; Fri, 19 Feb 2016 20:46:38 -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=9MMZsfC5S2ME+Y0CjVsO8KYaxjicqb4fR+HTC7jBmtg=; b=WOe5AA9R/fuGjmQKwBx9Vkn9a8P998LzpNuUbs3RceXyL0s69juQf4wiMaNxT9FHMs H2kqi2TMjxt5BmMKq/E1Ea58jUul267DfbQPGoVVh3rpTvk0Vo//F0lqosiXpDFpqjcT uRg27UNp591JChr8sLMvpyyfqoNr5Illn5OC0vHK7TbEzU90E08yY5dg22Pyc1/uGlj+ vdhqozGX3M7Ezi8ar8GnYKCS67f0GGAV0/ro5ztZkxRqC2ByTyMtyqRpvi8/J66W6Ezz fK6Y/cIzUL/GdZ+cwwhjIDSxrTKkh3PAesD2W0INYuXgBsir9lrV58RwgW30BIBENgMS /8jw== 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=9MMZsfC5S2ME+Y0CjVsO8KYaxjicqb4fR+HTC7jBmtg=; b=fFBUeoqweyCU3KXwibdPnvk1Vz3hFdMGezTiMhEdNMzmb5a8tjl8nFYF2xN0HJLANQ yyqRCGqPNqehj6B9jBEv9ODLNjnpBG2rF5HPIIjCxaR57T9da43BGoIPXE15E195EDta F+XkGJSOwnOL77LeT/5vsDpQwbLFlk9Jju7yxyfLPX7NitF7e8HeNAEQzA5R4iBtSk+j 6+ibUzBp1ztpe1DvfP1/I9eAqIUDrsoiY+V0JEeB7ZzDwzrZKPE6yV9F8S2s+XuQu7mv 0OSdsxpaFjDFvtWDYij43teAkhVV+ZhdzCKcp0fE8/BHahOVS9TD8L/VsKsG2E5zPBv0 qixg== X-Gm-Message-State: AG10YORR2+gEh4ExQqjP7kx3eaYTHi8a5cE665/+O+ZDQ5/OqkW3qpE3e4MzDF6YLfXNUxU2pYU+Ika5NkiLww== MIME-Version: 1.0 X-Received: by 10.31.16.37 with SMTP id g37mr11438076vki.106.1455912074398; Fri, 19 Feb 2016 12:01:14 -0800 (PST) Received: by 10.176.1.139 with HTTP; Fri, 19 Feb 2016 12:01:14 -0800 (PST) In-Reply-To: References: Date: Fri, 19 Feb 2016 21:01:14 +0100 Message-ID: From: Harold Demure To: Gilad Berman 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: Sat, 20 Feb 2016 04:46:38 -0000 Dear Gilad, Let me thank you also here for your kind help. I have replied on the forum. Regards, Harold 2016-02-18 11:31 GMT+01:00 Gilad Berman : > Harold, > > Flow Director features will be supported only on ConnectX-4 (starting fro= m > MLNX_DPDK version to be released end of Feb and on). > So sadly you can't use it with mlx4 (ConnectX-3). > > I answered also the community question, btw. > > > Gilad Berman | Staff System Engineer | Business Development | Mellanox > Technologies Ltd. > Work: +972 52 2554262| 6 Ha=E2=80=99Barzel St. Tel Aviv 6971010, Israel > > > -----Original Message----- > From: users [mailto:users-bounces@dpdk.org] On Behalf Of Harold Demure > Sent: Tuesday, February 16, 2016 6:05 PM > To: Olga Shern > Cc: users@dpdk.org > Subject: Re: [dpdk-users] DPDK 2.2 MLX4: problem with number of TX/RX > queues > > 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 availabl= e, > 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, 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=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 > when" > > > " hardware doesn't support RSS", > > > (void *)dev); > > > return EINVAL; > > > } > > > > > > Vincent > > > > > >