[dpdk-dev] [PATCH v5 1/5] i40e: Use constant random hash keys

2014-11-11 Thread Zhang, Helin
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, November 3, 2014 4:59 PM > To: Zhang, Helin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5 1/5] i40e: Use constant random hash keys > > 2014-11-03 08:18

[dpdk-dev] [PATCH v5 1/5] i40e: Use constant random hash keys

2014-11-06 Thread Zhang, Helin
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, November 3, 2014 4:59 PM > To: Zhang, Helin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5 1/5] i40e: Use constant random hash keys > > 2014-11-03 08:18

[dpdk-dev] [PATCH v5 1/5] i40e: Use constant random hash keys

2014-11-03 Thread Thomas Monjalon
2014-11-03 08:18, Zhang, Helin: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > The title is a bit surprising: > > - it should be about RSS > > RSS makes use of hash function to route received packets, though > hash function can be used for other cases, e.g. Flow director. Yes

[dpdk-dev] [PATCH v5 1/5] i40e: Use constant random hash keys

2014-11-03 Thread Thomas Monjalon
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

[dpdk-dev] [PATCH v5 1/5] i40e: Use constant random hash keys

2014-11-03 Thread Zhang, Helin
Hi Thomas > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, November 3, 2014 3:50 PM > To: Zhang, Helin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5 1/5] i40e: Use constant random hash keys > >

[dpdk-dev] [PATCH v5 1/5] i40e: Use constant random hash keys

2014-10-21 Thread Helin Zhang
To be simpler, and remove the race condition, it uses prepared constant random hash keys to replace runtime generating the hash keys. Signed-off-by: Helin Zhang --- lib/librte_pmd_i40e/i40e_ethdev.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git