net/bnxt: fix RSS disable for thor-based adapters
authorSantoshkumar Karanappa Rastapur <santosh.rastapur@broadcom.com>
Thu, 18 Jul 2019 03:36:08 +0000 (09:06 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:35 +0000 (14:31 +0200)
commitce1d4562430d484e9bfbb2f00249ad2b7a965fe7
tree73a6ea85db3b907774e8d1ce66d354c57b7d988a
parent6d91fd2ffeab103b70d8d607691b347d583dba6c
net/bnxt: fix RSS disable for thor-based adapters

In bnxt_hwrm_vnic_rss_cfg_thor, we were exiting if hash_type is 0.
This was preventing RSS getting disabled. Fixing it by removing the
check for hash_type while configuring RSS.

Fixes: 38412304b50a ("net/bnxt: enable RSS for thor-based controllers")

Signed-off-by: Santoshkumar Karanappa Rastapur <santosh.rastapur@broadcom.com>
Reviewed-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_hwrm.c