net/nfp: fix RSS hash configuration reporting
authorHeinrich Kuhn <heinrich.kuhn@netronome.com>
Fri, 10 Jul 2020 14:28:46 +0000 (16:28 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:54 +0000 (06:18 +0200)
commit198e745083b960d167bd769e2f81818c835f68b8
tree8281e4985a7a9f1255b59669910a4b8a344f7de6
parent4940344dab1d4da95ec6cd9f4fa8ac1fbc61ba54
net/nfp: fix RSS hash configuration reporting

Prior to this fix the NFP PMD implementation of the .rss_hash_conf_get
callback did not propagate the current hardware state of rss_hf back up
to the caller. Users of the hash_conf_get callback would receive an
incorrect representation of what the RSS configuration currently is in
hardware.

Fixes: 934e4c60fbff ("nfp: add RSS")
Cc: stable@dpdk.org
Signed-off-by: Heinrich Kuhn <heinrich.kuhn@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
drivers/net/nfp/nfp_net.c