net/qede: fix RSS
authorHarish Patil <harish.patil@qlogic.com>
Wed, 19 Oct 2016 04:11:36 +0000 (21:11 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 26 Oct 2016 17:42:22 +0000 (19:42 +0200)
commit9c5d0a669f9ba55625e5337c56374bdb920e1957
treeb46b19dbc970dc89ca9aa7a6a5e9e731ef0a2f7b
parentd87246a43759526a4e01d291debda2540f91c2de
net/qede: fix RSS

This patch contains few RSS related changes as follows:

o Fix inadvertent initializing of rss_params outside of the
  if block in qed_update_vport() which could cause FW exception.

o Fix disabling of RSS when hash function is 0.

o Rename qede_config_rss() to qede_check_vport_rss_enable()
  for better clarity.

o Avoid code duplication using a helper function
  qede_init_rss_caps().

Fixes: 4c98f2768eef ("net/qede: support RSS hash configuration")
Fixes: 2ea6f76aff40 ("qede: add core driver")

Signed-off-by: Harish Patil <harish.patil@qlogic.com>
doc/guides/nics/qede.rst
drivers/net/qede/qede_eth_if.c
drivers/net/qede/qede_ethdev.c
drivers/net/qede/qede_ethdev.h
drivers/net/qede/qede_rxtx.c