From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42])
 by dpdk.org (Postfix) with ESMTP id 2B5C85942
 for <dev@dpdk.org>; Mon,  3 Nov 2014 08:49:18 +0100 (CET)
Received: by mail-wg0-f42.google.com with SMTP id k14so11815499wgh.1
 for <dev@dpdk.org>; Sun, 02 Nov 2014 23:58:31 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:organization
 :user-agent:in-reply-to:references:mime-version
 :content-transfer-encoding:content-type;
 bh=dUB86HQG1tM7CUOqFES4XAgCgHCfROEjE+AXx0rxwaU=;
 b=b6iIWVmFHKVNbt4n9QnNkhvk4HO6DUVAOa9gcj6wxQ0bv3bgmtYNAaxHcrqff20USg
 ZblWb1w5/LKPgq7jNdLKjGbuF1/T/FtcGZuipTBlq2kQx4tJ6KHXdCCJVJVDeoHKI3hJ
 BWESJ1Tljn6sX84MHB6qNkP5AGowgPs3qKyiJJo9DH5UV45gATrRH5Wx6xU/fDLPF2CF
 3V+7iDZJI5Ivso+FyFx5uTogE/GuLBeHV6sGEez/kNl6aD+O5lIijWMdJmmTMoTySSB2
 fSRn7AtjYHblaDdSezTfYY1Z9wa9/fUU6vx+V8HObkB5SoZF+PalXcBDCbJ5mFDh62lx
 gjlQ==
X-Gm-Message-State: ALoCoQnGn5dyvLXnbPruSqkrsIakRiCb53qH2qh/PuzbWxvirmawkLqBg9n2Iw0H36vbM97Cj3ge
X-Received: by 10.180.96.162 with SMTP id dt2mr9289811wib.66.1415001511273;
 Sun, 02 Nov 2014 23:58:31 -0800 (PST)
Received: from xps13.localnet (3.17.90.92.rev.sfr.net. [92.90.17.3])
 by mx.google.com with ESMTPSA id r10sm7783050wiy.19.2014.11.02.23.58.29
 for <multiple recipients>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 02 Nov 2014 23:58:30 -0800 (PST)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Helin Zhang <helin.zhang@intel.com>
Date: Mon, 03 Nov 2014 08:49:40 +0100
Message-ID: <1493143.C52zTo8RWN@xps13>
Organization: 6WIND
User-Agent: KMail/4.14.2 (Linux/3.17.1-1-ARCH; KDE/4.14.2; x86_64; ; )
In-Reply-To: <1413861289-26662-2-git-send-email-helin.zhang@intel.com>
References: <1413180766-12211-1-git-send-email-helin.zhang@intel.com>
 <1413861289-26662-1-git-send-email-helin.zhang@intel.com>
 <1413861289-26662-2-git-send-email-helin.zhang@intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v5 1/5] i40e: Use constant random hash keys
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 07:49:18 -0000

Hi Helin,

The title is a bit surprising:
- it should be about RSS
- a constant cannot be really random ;)

2014-10-21 11:14, Helin Zhang:
> To be simpler, and remove the race condition, it uses prepared
> constant random hash keys to replace runtime generating the hash
> keys.

Could you explain what is the role of rss_key_default?

Thanks
-- 
Thomas