From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B424CA034C for ; Tue, 18 Aug 2020 16:27:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1B2C75F69; Tue, 18 Aug 2020 16:27:45 +0200 (CEST) Received: from delivery.mailspamprotection.com (delivery.mailspamprotection.com [146.66.121.218]) by dpdk.org (Postfix) with ESMTP id 611372BE2 for ; Tue, 18 Aug 2020 16:27:43 +0200 (CEST) Received: from 72.204.214.35.bc.googleusercontent.com ([35.214.204.72] helo=es18.siteground.eu) by se24.mailspamprotection.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1k82aC-000ESk-7G; Tue, 18 Aug 2020 09:27:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=filipjaniszewski.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6781IdpspzhFlsZajtssjgdwBOYOC8T45RENdfjMtKM=; b=Qqqy38rQ0+pUzQqsez2x5f2GEZ em0auIWuvQkeUU/QXRPoreAAWkg6i64MKoKFJqY1M19LQsvmr7b5DCQo+3v+F2CUZZlrY8JQtHPBz gjXqICt0/60LjCQJmnK/9vib8wBAwbO++wr2hHohQEc5M6kKTpfnIoclrEimoK+jffgM2GYSrcXDE 5IBInjSbxBuPlkZbCjYAfgeS+piqKAtg9lYN1gALu+34owtQwHQ0fg7GbbH8ju/T4/9w08YC/0Irf TAndsKYew38k8/N6t/Apqaup02bl3x8XG9Jqe9UnsykD6U6c9ieWPxjr2qC0aIx/T2AOa7FBlZEUZ +UeOy76A==; Received: from [89.64.148.179] (port=36146 helo=localhost.localdomain) by es18.siteground.eu with esmtpsa tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.90devstart-1178-b07e68e5-XX) (envelope-from ) id 1k82aA-0001zd-Gv; Tue, 18 Aug 2020 16:27:22 +0200 To: Pawel Wodkowski References: <9a39c4d5-8248-5223-df10-1c25fa1331c0@filipjaniszewski.com> <8c8034d8-4cd5-bd0b-0958-14d08f5ae6e3@kth.se> <2f9d3b69-4fef-b179-6510-2d2d4c23ec02@filipjaniszewski.com> Cc: Tom Barbette , "users@dpdk.org" From: Filip Janiszewski Message-ID: Date: Tue, 18 Aug 2020 16:27:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: 35.214.204.72 X-SpamExperts-Domain: es18.siteground.eu X-SpamExperts-Username: 35.214.204.72 Authentication-Results: mailspamprotection.com; auth=pass smtp.auth=35.214.204.72@es18.siteground.eu X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.14) X-Recommended-Action: accept X-Filter-ID: Mvzo4OR0dZXEDF/gcnlw0Uc1Z+hCSaILZIw3vLzlsGSpSDasLI4SayDByyq9LIhV1uqS8h9ftOb5 ytb6mXm/OkTNWdUk1Ol2OGx3IfrIJKyP9eGNFz9TW9u+Jt8z2T3KvY2jVFWQfFeu+5dFXby93o/w udTyfNATXcaUWleDawd0XXBD72g/jvyZwMeiwHIr+pKPHvcXSn9cbFfxhBL/oj5CA7maa1BZ5zA0 qYKajsJaa40DxZPJuLUk3zkVKd8pBBofbCPI56f2fjexvn9vC9CfNP8N9v3/2zWBV/WhpZXeAiXB Qargo4P7g+T6VYKFdIrqhnZCR3/cWQaqoZYvLlVuSQuWpryUKXSfRAF6rXwhvM2yhwdAtTv2S68a 2gHaZVmFI2PiVka7GM8ohTztCMTvKpWdy0QK90I5rcSr6Mdli19mW0G91CSooRJqA7sIQZ9xAZXS Wfhf24Rub6jPR8t4QGHh8z4JwntNZcENOTyB/XXeZlhRtdWlq12+IWgwmQe0NR41Q9AG+69OB6hw B6O1G7ls8LzOXkY85X1GAzFhYDivIFvoWs4fOKAXjLRh8dcxvnQYERkMuRL5/fo3RGhIYjUQxco4 M/6qu/uYuOVFXXqpVcVFhDpgnnGd9TvwpduFUH54xozIXYC/AO4ruUl+WAcFzyHcAXhob++rEkJb O+uWqv+yIXuSaTRGCFbDjMhpwyKUnIZXKOkSA6DYP4dABxZpJ5hWPABfQt0zo2euA7dIExCvbzpT r6RV14zsrnI+9+ZhXBaqHOMsrL0DPAEiRQv+PVjjwa+Z5RFCOMQ76/0fvJPbNMq3REc92Tjx4GS5 Q0LO8HIdVVFlXX6KiVGpPJYbhLJ0CXetvZByZdaznpeKLu9COPP1aeFuNbDL5yzHpuQX2nkNbSxf 2vdqTWXgvsThlHiRxQ8x62W/ETEyARhSNb1jk8KH6Pqtz2+WXUsB79fGyF2gkqM62OmLwYnETcRP JR1UXnVx88fQdt9qiAE5pwKylKODoBbEqRaPRUsMfC7Zh6uCGbEJOL2q29Je/4uw3tX8piURcC+A ASwDw7huBwAZVadsFaHBFohFZVo2Cuv3fzeCXyleC6uzlX6m+UeFXprlCOm3BAEbJtAOj2EffpgY ijUvUMfuHE6OCq5c8EqSwrtjlaER7RKPdlU+FtN3/zWIlITwoqmbxkdnrqWGHcz5u2H0Q2lCzlNp 1TdBphqYc7PW6V3n6hA0Kw6QtnY9DAYoPA5kzH4gVloxBrMB8hgEk42sw6CkSqFa X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com Subject: Re: [dpdk-users] Round-robin packet distribution X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Do you mean bit or bytes? 'b' refers to bit, maybe you meant bytes? As for the network traffic type, we're capturing financial market traffic over TCP/UDP, nothing really fancy. Thanks Il 8/18/20 3:50 PM, Pawel Wodkowski ha scritto: > Flexible payload matching (aka RAW in flow API) works up to first 64b of > the > packet - at least in e1000, ixgbe and i40e. > > It will be easier if you can provide some details about you network > traffic. > > Paweł > > On 18.08.2020 14:40, Filip Janiszewski wrote: >> Hi, >> >> We had a look at that, and decided that it might be a bit too >> complicated to implement in our SW and will not work in a performant way >> as we might wish, ideally we're looking for a simple approach even if >> not ideal.. >> >> So, I was wondering if we can get at least a "fair" distribution (no >> round robin) using rte flow? And BTW, is it even possible to access the >> checksum from this API using for example the pattern matching with an >> offset that points to the proper byte location in the packet? (It seems >> it can't be done without modification to the driver..) >> >> Thanks >> >> Il 7/25/20 10:28 AM, Tom Barbette ha scritto: >>> Hi Filip, >>> >>> This is not possible, but you may use the idea of Sprayer >>> (http://www.gta.ufrj.br/ftp/gta/TechReports/SCC18d.pdf) to dispatch >>> packets randomly (use RSS on the checksum). >>> >>> However, in our paper RSS++ >>> (https://www.diva-portal.org/smash/get/diva2:1371780/FULLTEXT01.pdf) we >>> show it's nearly always a bad idea because you'll have to share state, >>> and even for "stateless" function, that leads to a very bad locality in >>> a firewall as the same rules have to be fetched to L1 to all cores at >>> the same time when you receive a burst of similar packets. >>> >>> Tom >>> >>> Le 24/07/2020 à 12:05, Filip Janiszewski a écrit : >>>> Hi, >>>> >>>> Is there a way in DPDK to configure the NIC to distribute the incoming >>>> packets to multiple queues in a round robin fashion? Without taking >>>> into >>>> account the payload/headers or type of packet, just plain round robin >>>> distribution to multiple queues. >>>> >>>> I'm struggling to obtain a fair mechanism using RSS, perhaps the >>>> rte_flow API can do the trick? Any other suggestion? >>>> >>>> Thanks >>>> > -- BR, Filip +48 666 369 823