From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) by dpdk.org (Postfix) with ESMTP id A8BF858F9 for ; Fri, 28 Feb 2014 02:06:34 +0100 (CET) Received: by mail-ie0-f176.google.com with SMTP id rd18so943157iec.21 for ; Thu, 27 Feb 2014 17:08:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LEHiqhx2XJZcOnpwtvYzT/aEG8d//stndOsyY7Akd3k=; b=WFRYb8QtOKWpxi3goJO1MLphcYikxytb5uZZT2rky81S8ATRgXQ2cHwUfWVHYKALyE uBHXS6+xEwe8Z31qegSAAFLfrpdY8GE2164GMKFvcA0Ccc6vYVP22mOI/o0PXobI/K3J j8xYNe3pRHqAz12QnSb+I8QG8Zi4INSgpVnu62CKFJQTVx5pBGS1KA9q3acQmgfjluHr GK6cZGpo52cc7t/kKOmEUlXo04iJ+0gcK214P6Bbn7UoiANszjfo7rCzGbcBEIHEdnic 7WZNwk2uM5MnGH/59s9FRE9ImWQ2knQbRmTA7JpBHQZJqYAcWx43ZlrOMjGKJB+wI7HM v+2w== MIME-Version: 1.0 X-Received: by 10.50.40.37 with SMTP id u5mr1049079igk.30.1393549681198; Thu, 27 Feb 2014 17:08:01 -0800 (PST) Received: by 10.64.8.103 with HTTP; Thu, 27 Feb 2014 17:08:01 -0800 (PST) Received: by 10.64.8.103 with HTTP; Thu, 27 Feb 2014 17:08:01 -0800 (PST) In-Reply-To: <75A2A7C4-F592-407C-92BA-7BBD6B6B2A72@nyansa.com> References: <75A2A7C4-F592-407C-92BA-7BBD6B6B2A72@nyansa.com> Date: Thu, 27 Feb 2014 20:08:01 -0500 Message-ID: From: Stefan Baranoff To: Daniel Kan Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Is it possible to get symmetric hash from RSS for a given flow 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: Fri, 28 Feb 2014 01:06:35 -0000 Has anyone already applied this logic to IP only load balancing to get SRC/DST and DST/SRC on the same queue and come up with an RSK value? If not I'll spend some time with a calculator and see if I can get one. Thanks, Stefan Sent from my smart phone; people don't make typos, Swype does! On Feb 27, 2014 8:04 PM, "Daniel Kan" wrote: > Thanks, Sangjin. This is exactly i'm looking for. Sorry, I should've > googled it first. It's good to know that hash key of repetitive 0x6d5a > still yields good load balancing results. > > Dan > > On Feb 27, 2014, at 4:24 PM, Sangjin Han > wrote: > > > Hi, > > > > This is exactly what you want: > > http://www.ndsl.kaist.edu/~shinae/papers/TR-symRSS.pdf > > > > Sangjin > > > > On Thu, Feb 27, 2014 at 4:22 PM, Daniel Kan wrote: > >> Hi, > >> It appears that the hash computed from RSS is unidirectional. Hence, > for a 5-tuple flow, packet in one direction can be routed to a queue that > may be different than packet in the other direction. I'm wondering if there > is a configuration or mechanism to get a symmetric hash so that all packets > for a given flow will be in the same queue. Thanks in advance. > >> > >> Dan > >