net/i40e: fix RSS key initialization
authorWei Zhao <wei.zhao1@intel.com>
Thu, 15 Nov 2018 08:57:20 +0000 (16:57 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 15 Nov 2018 22:32:46 +0000 (23:32 +0100)
commit2e00f9e70ea230365107875d66ea1d62e0af87c5
treea2e3adab3d26e8d824fc0c560a899f582a777c23
parent73247f1ced303c16987bb366d38a2d8a0fc40db4
net/i40e: fix RSS key initialization

The assignment should be done after initialization, or it will be zero.

Fixes: 264b23e3d2c1 ("net/i40e: add parameter check for RSS flow init")

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Tested-by: Yuan Peng <yuan.peng@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.c