net/sfc: correct RSS hash availability condition
authorAndrew Rybchenko <arybchenko@solarflare.com>
Tue, 18 Apr 2017 13:03:08 +0000 (14:03 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000 (15:37 +0200)
commit4c7f9729dd90d84ee85d6230ee86ddb86464a02d
treea918353d269ce25c4f44ee70cac84af96d960deb
parent63ab5e0c8fdad1ce773f31a71bba22f5b8126479
net/sfc: correct RSS hash availability condition

RSS hash is computed by hardware if corresponding Rx filter (for
example, default Rx filters) has RSS flag set which is set if
the number of RSS channels is greater than zero.

Fixes: 4ec1fc3ba881 ("net/sfc: add basic stubs for RSS support on driver attach")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@solarflare.com>
drivers/net/sfc/sfc_rx.c