net/fm10k: fix RSS hash config
authorXiao Wang <xiao.w.wang@intel.com>
Thu, 21 Jul 2016 08:24:30 +0000 (16:24 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 22 Jul 2016 09:53:32 +0000 (11:53 +0200)
Sometimes app just wants to update the RSS hash function and no RSS key
update is needed, but fm10k pmd will return EINVAL for this case.

If the rss_key is NULL, we don't need to check the rss_key_len.

Fixes: 57033cdf8fdc ("fm10k: add PF RSS")

Reported-by: Xueqin Lin <xueqin.lin@intel.com>
Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>

No differences found