From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gesmail.globaledgesoft.com (gesmail.globaledgesoft.com [123.63.243.152]) by dpdk.org (Postfix) with ESMTP id B40C656A1; Mon, 24 Jul 2017 10:55:10 +0200 (CEST) Received: from mail.globaledgesoft.com (mail.globaledgesoft.com [172.16.2.30]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by gesmail.globaledgesoft.com (Postfix) with ESMTP id 438217C854E; Mon, 24 Jul 2017 14:24:09 +0530 (IST) Received: from mail.globaledgesoft.com (localhost [127.0.0.1]) by mail.globaledgesoft.com (Postfix) with ESMTPS id EDF9CB8070C; Mon, 24 Jul 2017 14:27:29 +0530 (IST) Received: from localhost (localhost [127.0.0.1]) by mail.globaledgesoft.com (Postfix) with ESMTP id D9CCDB806F0; Mon, 24 Jul 2017 14:27:29 +0530 (IST) X-Amavis-Modified: Mail body modified (using disclaimer) - mail.globaledgesoft.com Received: from mail.globaledgesoft.com ([127.0.0.1]) by localhost (mail.globaledgesoft.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id bIivvJE2xCnd; Mon, 24 Jul 2017 14:27:29 +0530 (IST) Received: from [192.168.1.128] (unknown [172.16.2.250]) by mail.globaledgesoft.com (Postfix) with ESMTPSA id BB006B805DC; Mon, 24 Jul 2017 14:27:29 +0530 (IST) To: users , dev@dpdk.org From: Mahesh Ishwar Mathad Message-ID: <5975B5D5.5050303@globaledgesoft.com> Date: Mon, 24 Jul 2017 14:24:45 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] query related to DPDK QOS-SCHED sample application 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: Mon, 24 Jul 2017 08:55:11 -0000 Hi Team, System Configuration: NIC: Intel Corporation 82576 (IGB) NUMA node:1 Kernel version :4.5.0 DPDK version: 16.07.2 I am trying to execute DPDK QOS-SCHED application: ./build/qos_sched -c 0x0e -n 1 -- --pfc "0,1,3,2" --cfg ./profile.cfg EAL: Detected 4 lcore(s) PMD: bnxt_rte_pmd_init() called for (null) EAL: PCI device 0000:01:00.0 on NUMA socket -1 EAL: probe driver: 8086:10c9 rte_igb_pmd EAL: PCI device 0000:01:00.1 on NUMA socket -1 EAL: probe driver: 8086:10c9 rte_igb_pmd EAL: Error - exiting with code: 1 Cause: No Ethernet port - bye For qos_sched sample application require more than one NUMA node? Appreciate your help. Thanks a lot. -- Thanks & Regards, Mahesh Mathad. Disclaimer:- The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. The views expressed in this E-mail message (including the enclosure/(s) or attachment/(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of GlobalEdge. Before opening any mail and attachments please check them for viruses .GlobalEdge does not accept any liability for virus infected mails. >From adrien.mazarguil@6wind.com Mon Jul 24 11:00:47 2017 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 6B04A47CD for ; Mon, 24 Jul 2017 11:00:47 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id m85so11504333wma.1 for ; Mon, 24 Jul 2017 02:00:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zuKaMphyAhpabUHnOvwfEuEwMU79MsT5UZzONR194Vg=; b=BFZuFcKyjYwHNr/8ya6UsEqbNC0SWvXV1tIp1osinp1co0Em6aR+W0Pqtq4hofWd38 +4TLVGl7agDUN5R2V24Wz7GuGZNsdmivRmH3MSHtkgWYSNMaxRh2l0260Ss55De9xiNA nWK3V+4re0aOutpzZbfVbSN8BOhF2UwGArZB0tjkYf0n3Z5PaTna7GTIa5cREca0/g2p Lt6AnBWlcMDbGT8VkDUByqfkzQpm29IZZZ+Pc6hto8cQBTF0OSjPbmLpHaLN0CSE/aMQ D7Aw6G7LghqcUqJhGSBAoEMM0PG+Ct4Wp23baRDpz1fxZBv0OTK0SxTgn4y+9FX573zI dehg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zuKaMphyAhpabUHnOvwfEuEwMU79MsT5UZzONR194Vg=; b=GdULRqGf2rhVtXseSJX6lITGIOtuBsTCP8Uy4Dx94ThSGc8cFjFKaSSEgworvDlzMU KTiNo7ml+CWZRsjlZpCylstELWCYtFRAzF176h841s6dYVWsp2SUgrv88gVz/tmHc2Xo iX8dCOpw3UCSqiy1vvYpw4kX+pQR5r0b5lyAoZ6JISgxwae4y4GnuXLQJmD/jGxEXpOU EMy7aOrDVUOnTO+eDinYNgXzyzgE84SWagb0y3CipjabX4aolJga3aQcr88kZMUt+Rjj 3IYDFqNiM5ych2d9fUq8eNDX5n4GfXkVqt94QLwKbXq0Lld4XsrCmKF4FdT2U5NbFx6o D9mw== X-Gm-Message-State: AIVw112JGVnkqWuGCgm8K7KhkIBvpXZP3uTBlzqwYrTMuNePlrnxrMyb PACafZSao+n4/hrb X-Received: by 10.28.71.91 with SMTP id u88mr4403131wma.44.1500886847156; Mon, 24 Jul 2017 02:00:47 -0700 (PDT) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id v203sm8282038wmd.2.2017.07.24.02.00.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Jul 2017 02:00:46 -0700 (PDT) Date: Mon, 24 Jul 2017 11:00:38 +0200 From: Adrien Mazarguil To: Matan Azrad Cc: Jingjing Wu , dev@dpdk.org, Gaetan Rivet Message-ID: <20170724090038.GU19852@6wind.com> References: <1500880222-13347-1-git-send-email-matan@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1500880222-13347-1-git-send-email-matan@mellanox.com> Subject: Re: [dpdk-dev] [PATCH 0/2] fix flow rules copy functions 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: Mon, 24 Jul 2017 09:00:47 -0000 On Mon, Jul 24, 2017 at 10:10:20AM +0300, Matan Azrad wrote: > some issue seen when trying to test failsafe plug out and in. > > Matan Azrad (2): > app/testpmd: fix flow rule copy functions > ethdev: fix flow rule copy functions > > app/test-pmd/config.c | 16 ++++++++++------ > lib/librte_ether/rte_flow.c | 16 ++++++++++------ > 2 files changed, 20 insertions(+), 12 deletions(-) Thanks! I think the original code didn't have these functions and used the flow_item[x].size value directly, which worked fine until I added support for the RAW item and the RSS action. Both had to be handled through special functions which I messed up. Unfortunately I didn't catch it in testpmd because it doesn't do anything with the copied data unlike the fail-safe PMD. Acked-by: Adrien Mazarguil -- Adrien Mazarguil 6WIND