From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-x22d.google.com (mail-pd0-x22d.google.com [IPv6:2607:f8b0:400e:c02::22d]) by dpdk.org (Postfix) with ESMTP id 3A190156 for ; Wed, 4 Dec 2013 18:52:30 +0100 (CET) Received: by mail-pd0-f173.google.com with SMTP id p10so22826042pdj.4 for ; Wed, 04 Dec 2013 09:53:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=gsq5dwAC3oe/+8JcjXl45WgG2TWcwKA/CJyUVZakOjw=; b=U+jgP5JR0fQYJ0ZxO53dWSABp7qvUISMdTSglPHFALrfZpNEfnwWoG98coFd+VDUvx iOSHSLXmSZY0wrz4CdHKY75uxFD3XBmXO14vQpmAqkZ3zJfOnfwEEOEA8Pc/gEobFi22 mYXs58LWh+uMYPiLP1NA/BSIdfUoFnXWF1+foE3/AOLJGVsEf4q9/UYXCAjTSHro14z1 EPcNbN3IQYj2TcnWfIjhVgGRiIiYdehqcpb5FAHbTJJthQWPvQiqLOWC4fFeXpvXteI4 77nFSP5HErN0DKulHEGRcXo0m8F1oXw63Xi8I5tC0n5Nyqme6bnL/myXCb94GXNlUYzO sLnA== X-Received: by 10.68.59.202 with SMTP id b10mr47522182pbr.78.1386179611966; Wed, 04 Dec 2013 09:53:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.70.69.66 with HTTP; Wed, 4 Dec 2013 09:53:11 -0800 (PST) From: Michael Quicquaro Date: Wed, 4 Dec 2013 12:53:11 -0500 Message-ID: To: "dev@dpdk.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] generic load balancing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Dec 2013 17:52:30 -0000 Hi all, I am writing a dpdk application that will receive packets from one interface and process them. It does not forward packets in the traditional sense. However, I do need to process them at full line rate and therefore need more than one core. The packets can be somewhat generic in nature and can be nearly identical (especially at the beginning of the packet). I've used the rxonly function of testpmd as a model. I've run into problems in processing a full line rate of data since the nature of the data causes all the data to be presented to only one core. I get a large percentage of dropped packets (shows up as Rx-Errors in "port stats") because of this. I've tried modifying the data so that packets have different UDP ports and that seems to work when I use --rss-udp My questions are: 1) Is there a way to configure RSS so that it alternates packets to all configured cores regardless of the packet data? 2) Where is the best place to learn more about RSS and how to configure it? I have not found much in the DPDK documentation. Thanks for the help, - Mike