From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1A61B42A0F for ; Thu, 27 Apr 2023 10:37:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B1C542D3C; Thu, 27 Apr 2023 10:37:46 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id 2F39C42B8C for ; Thu, 27 Apr 2023 10:37:44 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id BCBA95C0216; Thu, 27 Apr 2023 04:37:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 27 Apr 2023 04:37:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1682584661; x=1682671061; bh=7XQUjRnBa1EGJiqt0JS6a/vy7O7Vnpymziw cDQ1GO2A=; b=E8ZI2pBYnCCNOosIt5U1kLyRCYAKOizpKxRqXMuEFbCYA7rpla9 cX58uSd6ioABo3cueGJSu1LoiNUcPBN7HYsQBwgRH87ZXZ3eZssAY/VM/JaM4gwL tXm2GF80tpJ4NlX+q8f5Fom1m28sygJ+3XsDHiJYh+atpqLQTnjmNyM5xzenaZGs IiXrwu87H1/2N75EIU+SqPi0gycaxFGzlMKdNAbcdyziArMHyAAnvknbFas8v526 b2JmkKdpdPuEmMSxiyyYamoUbrEwjAW4gzFxEpC4P739+jwh+mY/n7fC6yG1usJx 1hW3JpAPrk6XkwbQhGAo4odasjITWw3GQ4Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1682584661; x=1682671061; bh=7XQUjRnBa1EGJiqt0JS6a/vy7O7Vnpymziw cDQ1GO2A=; b=AiJ4P1cj2bQyBmpAIdfHF5PPkorsWXO6kQv3p4GI8qL8mBiroSE CyQehWRkTzEi5lrY3B07KLfyrDIrVeIty5z9AFwkCWXIXCnWox8zo9FBq3yHRmGl 0At5CFgYExKBuYjudi3VuvTqvVSp/oBMc2VCrAlrjphgVoWCPZGe0s9j7/rMGf91 9B3PZJrQ7rmpQD/ms26JmBYZYmONzuiVkZIjnabWeieUjcpV77SPzboK9zSC/PQ3 90IgfIxut0/gg5b2MjPhMHE4esakpbz5yzn8tYUkAlUiLiF0nizz2Es7b1rO54WY /0JxiIrgW8D/zzRfU0v+iGb7pE5fQKDWeXw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeduiedgtdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthhqredttddtjeenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeegtddtleejjeegffekkeektdejvedtheevtdekiedvueeuvdei uddvleevjeeujeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 27 Apr 2023 04:37:40 -0400 (EDT) From: Thomas Monjalon To: Cliff Burdick , David Marchand Cc: users , Ori Kam Subject: Re: Generic flow string parser Date: Thu, 27 Apr 2023 10:37:38 +0200 Message-ID: <1814734.QZUTf85G27@thomas> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org 26/04/2023 07:47, David Marchand: > On Wed, Apr 26, 2023 at 6:47=E2=80=AFAM Cliff Burdick wrote: > > > > Does anyone know if a generic parser for flow strings exists anywhere? = The one inside of testpmd is ideal, but unfortunately it's self-contained a= nd not distributed as part of a normal DPDK install. This seems like someth= ing that is likely reinvented over and over and it would be useful if there= was a single API to take in strings and generate flows. >=20 > I heard this same question in the past, but I don't remember the answer. > Copying Thomas and Ori who might know. I'm not sure how the testpmd code could help another application. And in general, if your application has a CLI, you need to integrate the flow commands in a broader context.