From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f176.google.com (mail-ig0-f176.google.com [209.85.213.176]) by dpdk.org (Postfix) with ESMTP id 4093C5A3E for ; Mon, 30 Mar 2015 17:13:06 +0200 (CEST) Received: by igcxg11 with SMTP id xg11so75645615igc.0 for ; Mon, 30 Mar 2015 08:13:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=yuzHx0YqfXNkz8+21pSr/a2NEO4UvHwaEpNO0zLyazo=; b=hOoZiJ0Pk11F00xVEyxHHr+ncTNvxOFhDdYNI6trMQVHwM+XVipfM5nNX/Xccowbl6 YswGbilftcCAgomTAjrPNGO+uyV90Q216NPPt1+fYPWZ6FpyAoToz1git/0F6HZSk/l5 NSTbHly3YMweeVzaX829vKVZ0HlHhbiUovPgDB2ngNxeHiGc843E0MQs1dOexIG7zTZK AL3Op/aFPff4SqmykGMN6mRQsnwZ8xHR9tHKarC9M297i4Yvsih/sutAAkcgNY5MLGtG UawXyS0aTCVmi5GYi9sZlQR8h+KiH+hVNyza3LfNO883aqhMdRJpobBLQmzR8roGOHqB 4qpw== X-Gm-Message-State: ALoCoQn0wL4cOorBjWeGSbd+vqMDwfqn6+GUK8XvtxUIkTt9Cyit/U6SqVzH4v6SA2HwMLbEgagZ MIME-Version: 1.0 X-Received: by 10.43.181.130 with SMTP id pi2mr49948878icc.21.1427728385500; Mon, 30 Mar 2015 08:13:05 -0700 (PDT) Received: by 10.36.1.207 with HTTP; Mon, 30 Mar 2015 08:13:05 -0700 (PDT) In-Reply-To: References: <4212375A-A998-48A6-A41E-599E9A35410B@mhcomputing.net> <4378294.bYFEcjd8Sh@xps13> <20150323212719.GB5502@mhcomputing.net> <91758887-297B-40EF-A7C0-D2A463331C1F@mhcomputing.net> <20150328201156.GB23149@mhcomputing.net> Date: Mon, 30 Mar 2015 10:13:05 -0500 Message-ID: From: Matt Laswell To: Vladimir Medvedkin Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Symmetric RSS Hashing, Part 2 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: Mon, 30 Mar 2015 15:13:06 -0000 That's really encouraging. Thanks! One thing I'll note is that if my reading of the original paper is accurate, the 0x6d5a value isn't there in order to cause symmetry - other repeated 16 bit values will do that, as you've seen. What the 0x6d5a value gets you is symmetry while preserving RSS's effectiveness at load spreading with typical traffic data. Not all 16 bit values will do this. -- Matt Laswell infinite io, inc. laswell@infiniteio.com On Mon, Mar 30, 2015 at 10:00 AM, Vladimir Medvedkin wrote: > Matthew, > > I don't use any special tricks to make symmetric RSS work. Furthermore, it > works not only with 0x6d5a. > > Regards, > Vladimir > > 2015-03-28 23:11 GMT+03:00 Matthew Hall : > > > On Sat, Mar 28, 2015 at 12:10:20PM +0300, Vladimir Medvedkin wrote: > > > I just verify RSS symmetric in my code, all works great. > > > ... > > > By the way, maybe it will be usefull to add softrss function in DPDK? > > > > Vladimir, > > > > All of this is super-awesome code. I agree having SW RSS would be quite > > nice. > > Then you could more easily support things like virtio-net and other stuff > > which doesn't have RSS. > > > > Did you have to use any special tricks to get the 0x6d5a to work? I > wasn't > > quite > > sure how to initialize that and get it to run right. > > > > Matthew. > > >