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 F22BC4293D; Fri, 14 Apr 2023 09:23:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C9503410F6; Fri, 14 Apr 2023 09:23:11 +0200 (CEST) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id 94F33400D5 for ; Fri, 14 Apr 2023 09:23:10 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 136173200681; Fri, 14 Apr 2023 03:23:09 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 14 Apr 2023 03:23:09 -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= 1681456988; x=1681543388; bh=xOpqMaKrSkTp7/BuewvtSu1reR4qghVSdjR HHrSsMVs=; b=WYcADWFqnFa/HKGxcnlO5YcZwAgjcI4MknZNHbIjoCHcTJjjRay /lILYoThb4/1de/bupTH4/b2FoNvxdA+dqruYHkTRqLKI6ASZXBRZqVK016JfLNl ne9qxyO0EYH67YM7cFrvDP/+OwbArLS3fr5dzRJeThaejSzpkhctEOIS4yETNzJS jtfvO9YZhaHcOLymhDxanhd3uBTQusWaWA799v9UeOVNOmBB5TnJ3uaOG6ovjM0a rRiyH65aXcedDczymi2IKqEGwv9E2HXObAHFNies5sm8u5UD/52hcrKHRHEHRyeY RYn3GwwS/Q/eQqLVEsbUTDq80pZzuKGf4uA== 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= 1681456988; x=1681543388; bh=xOpqMaKrSkTp7/BuewvtSu1reR4qghVSdjR HHrSsMVs=; b=T4yP5Vvp3qKUOu8JeXNelQrL62mZXRoEeed2DLJpPD/AMI6ahbk yFlvpGQIKaN8elxOGbyB5/U+n54IEgMrRBphW9PjibiVdIVbr3kF9nhawbVenZKE pefPxOPmmF1+2iZrkwSVTFE6gytjnXo4vjXhLiFpgc54ff5Sr5wNSjtSgnnqEYGf bMQxgsqT0gVxElFSmu+zPK+V3wF7fC2BT4QZSN2bayekSpCBAgZRYL2IWDzyoLEy RwfOygxVON8ZQiqSD4ONXHtvP3NPVYnr0kTcMHFr1fR/qQjlAjDyHIh6S8RLIwzo /Paj3HnuObXxMLnoWum005hR12UZQrABXTA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdekledguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuggftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddt ieekgfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 14 Apr 2023 03:23:07 -0400 (EDT) From: Thomas Monjalon To: Robin Jarry Cc: dev@dpdk.org, Olivier Matz , Jean-Mickael Guerin Subject: Re: [PATCH] usertools: add tool to generate balanced rss traffic flows Date: Fri, 14 Apr 2023 09:23:06 +0200 Message-ID: <21838707.EfDdHjke4D@thomas> In-Reply-To: <20230413203010.638406-1-rjarry@redhat.com> References: <20230413203010.638406-1-rjarry@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 13/04/2023 22:30, Robin Jarry: > From: 6WIND I don't remember drinking a beer with grumly. Maybe it is not his real name? > usage: dpdk-rss-flows.py [-h] [-s SPORT_RANGE] [-d DPORT_RANGE] [-r] > [-k RSS_KEY] [-t RETA_SIZE] [-j] > RX_QUEUES SRC DST > > Craft IP{v6}/{TCP/UDP} traffic flows that will evenly spread over a > given number of RX queues according to the RSS algorithm. > > positional arguments: > RX_QUEUES The number of RX queues to fill. > SRC The source IP network/address. > DST The destination IP network/address. > > options: > -h, --help show this help message and exit > -s SPORT_RANGE, --sport-range SPORT_RANGE > The layer 4 (TCP/UDP) source port range. Can > be a single fixed value or a range > -. > -d DPORT_RANGE, --dport-range DPORT_RANGE > The layer 4 (TCP/UDP) destination port range. > Can be a single fixed value or a range > -. > -r, --check-reverse-traffic > The reversed traffic (source <-> dest) should > also be evenly balanced in the queues. > -k RSS_KEY, --rss-key RSS_KEY > The random key byte-stream used to compute the > RSS hash. This option supports either a > supported driver name or the hex value of the > key (default: intel). > -t RETA_SIZE, --reta-size RETA_SIZE > Size of the redirection table or "RETA" > (default: 128). > -j, --json Output in parseable JSON format. How do you parse the JSON format? Is there a tool able to use this table and generate the traffic?