DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] query related to DPDK QOS-SCHED sample application
@ 2017-07-24  8:54 Mahesh Ishwar Mathad
  2017-07-24 10:07 ` Dumitrescu, Cristian
  0 siblings, 1 reply; 3+ messages in thread
From: Mahesh Ishwar Mathad @ 2017-07-24  8:54 UTC (permalink / raw)
  To: users, dev

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: <adrien.mazarguil@6wind.com>
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 <dev@dpdk.org>; Mon, 24 Jul 2017 11:00:47 +0200 (CEST)
Received: by mail-wm0-f42.google.com with SMTP id m85so11504333wma.1
 for <dev@dpdk.org>; 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 <adrien.mazarguil@6wind.com>
To: Matan Azrad <matan@mellanox.com>
Cc: Jingjing Wu <jingjing.wu@intel.com>, dev@dpdk.org,
 Gaetan Rivet <gaetan.rivet@6wind.com>
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 <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=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.com>

-- 
Adrien Mazarguil
6WIND

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] query related to DPDK QOS-SCHED sample application
  2017-07-24  8:54 [dpdk-dev] query related to DPDK QOS-SCHED sample application Mahesh Ishwar Mathad
@ 2017-07-24 10:07 ` Dumitrescu, Cristian
       [not found]   ` <403317070.9263384.1500895670630.JavaMail.zimbra@globaledgesoft.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Dumitrescu, Cristian @ 2017-07-24 10:07 UTC (permalink / raw)
  To: Mahesh Ishwar Mathad, users, dev

Hi Mahesh,

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Mahesh Ishwar
> Mathad
> Sent: Monday, July 24, 2017 9:55 AM
> To: users <users-bounces@dpdk.org>; dev@dpdk.org
> Subject: [dpdk-dev] query related to DPDK QOS-SCHED sample application
> 
> 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 this instance the application log is giving you a good instruction of where the problem might be, right? Please run the usertools/dpdk-devbind.py script to make sure that all the NIC ports you need are handled by DPDK. Please make sure you have the root privileges to run this app, huge pages are required.

> For qos_sched sample application require more than one NUMA node?

No. Please take a look at the user guide on how to run this sample app: http://www.dpdk.org/doc/guides/sample_app_ug/qos_scheduler.html

> 
> Appreciate your help. Thanks a lot.
> 
> --
> Thanks & Regards,
> Mahesh Mathad.
> 
> 

Regards,
Cristian


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] query related to DPDK QOS-SCHED sample application
       [not found]   ` <403317070.9263384.1500895670630.JavaMail.zimbra@globaledgesoft.com>
@ 2017-07-24 11:29     ` Mahesh Ishwar Mathad
  0 siblings, 0 replies; 3+ messages in thread
From: Mahesh Ishwar Mathad @ 2017-07-24 11:29 UTC (permalink / raw)
  To: Cristian Dumitrescu; +Cc: users, dev

Hi Team,

Thanks for the response,

$ ./build/qos_sched -c 0xe -n 4 -- --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: Cannot init mbuf pool for socket 0

I getting error something like this: Cannot init mbuf pool for socket 0.

$ grep -i Huge /proc/meminfo 
AnonHugePages:    350208 kB
HugePages_Total:     476
HugePages_Free:      476
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB

Is 476 hugepages are sufficient to execute qos_sched application?

Could you help me in running this app as per my system configuration.

----- Original Message -----
From: "Cristian Dumitrescu" <cristian.dumitrescu@intel.com>
To: "Mahesh Ishwar Mathad" <mi.mahesh@globaledgesoft.com>, "users" <users-bounces@dpdk.org>, dev@dpdk.org
Sent: Monday, July 24, 2017 3:37:55 PM
Subject: RE: [dpdk-dev] query related to DPDK QOS-SCHED sample application

Hi Mahesh,

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Mahesh Ishwar
> Mathad
> Sent: Monday, July 24, 2017 9:55 AM
> To: users <users-bounces@dpdk.org>; dev@dpdk.org
> Subject: [dpdk-dev] query related to DPDK QOS-SCHED sample application
> 
> 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 this instance the application log is giving you a good instruction of where the problem might be, right? Please run the usertools/dpdk-devbind.py script to make sure that all the NIC ports you need are handled by DPDK. Please make sure you have the root privileges to run this app, huge pages are required.

> For qos_sched sample application require more than one NUMA node?

No. Please take a look at the user guide on how to run this sample app: http://www.dpdk.org/doc/guides/sample_app_ug/qos_scheduler.html

> 
> Appreciate your help. Thanks a lot.
> 
> --
> Thanks & Regards,
> Mahesh Mathad.
> 
> 

Regards,
Cristian
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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-24 11:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-24  8:54 [dpdk-dev] query related to DPDK QOS-SCHED sample application Mahesh Ishwar Mathad
2017-07-24 10:07 ` Dumitrescu, Cristian
     [not found]   ` <403317070.9263384.1500895670630.JavaMail.zimbra@globaledgesoft.com>
2017-07-24 11:29     ` Mahesh Ishwar Mathad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).