net/ice: fix default RSS key generation
authorDapeng Yu <dapengx.yu@intel.com>
Thu, 27 May 2021 06:42:51 +0000 (14:42 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Thu, 10 Jun 2021 10:04:16 +0000 (12:04 +0200)
commit03a91d7efb7098ba739ba458bcc118c3e348fae1
treea8f3b865dbde83ca1e15d5c3dd94a8be93974ce9
parent92a3b62b0b5dc5be1b3edbe5b7898c2982643339
net/ice: fix default RSS key generation

In original implementation, device reconfiguration will generate
a new default RSS key if there is no one from user, it is unexpected
when updating a completely unrelated configuration.

This patch makes default RSS key unchanged, during the lifetime of the
DPDK application even if there are multiple reconfigurations.

Fixes: 50370662b727 ("net/ice: support device and queue ops")
Cc: stable@dpdk.org
Signed-off-by: Dapeng Yu <dapengx.yu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_ethdev.c