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 8BDB9A0527 for ; Sat, 25 Jul 2020 10:35:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DFA451C02A; Sat, 25 Jul 2020 10:35:05 +0200 (CEST) Received: from smtp-3.sys.kth.se (smtp-3.sys.kth.se [130.237.48.192]) by dpdk.org (Postfix) with ESMTP id EE0B41C025 for ; Sat, 25 Jul 2020 10:35:04 +0200 (CEST) Received: from smtp-3.sys.kth.se (localhost.localdomain [127.0.0.1]) by smtp-3.sys.kth.se (Postfix) with ESMTP id BBB6636F4; Sat, 25 Jul 2020 10:35:04 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-3.sys.kth.se ([127.0.0.1]) by smtp-3.sys.kth.se (smtp-3.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gg2l2VsAyYh0; Sat, 25 Jul 2020 10:35:03 +0200 (CEST) X-KTH-Auth: barbette [109.217.63.52] DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default; t=1595666103; bh=lDoA/3ohgV2w1Uisqw4GVN0C6mq6GsMIgVin+rSemUE=; h=Subject:To:References:From:Date:In-Reply-To; b=TvxbSc7h0oTdF1jEVCnmedwvqmvOT1RbvC7/XeDsi1tyES9WaYhD3+Qxm48w8JR/t Sq6Iyh8UdcF28orCcGKvZA+uh6eWEcvbg/rf0FUE3mKq0sP+E5EncLpDaFKccg1pyf PAHPoZYxw16bHwwRDhIT1o+PYiH+RhxG/boeDCEg= X-KTH-mail-from: barbette@kth.se Received: from [192.168.1.86] (anancy-652-1-470-52.w109-217.abo.wanadoo.fr [109.217.63.52]) by smtp-3.sys.kth.se (Postfix) with ESMTPSA id 717503595; Sat, 25 Jul 2020 10:35:02 +0200 (CEST) To: Filip Janiszewski , "users@dpdk.org" References: <9a39c4d5-8248-5223-df10-1c25fa1331c0@filipjaniszewski.com> From: Tom Barbette Message-ID: Date: Sat, 25 Jul 2020 10:35:00 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <9a39c4d5-8248-5223-df10-1c25fa1331c0@filipjaniszewski.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit 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" 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 >